,上面可以持股,下面可以考虑买入。很简单
注意,参数N最小2,最大100,默认可以取30
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
买卖线:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
CC:=(CLOSE/买卖线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-买卖线)/买卖线)/3;
TMP:=MA1-MAAA*MA1;
J:IF(TMP<=买卖线,买卖线,DRAWNULL),LINETHICK3,COLORCYAN;
A:TMP,LINETHICK2,COLORYELLOW;
X:IF(TMP<=买卖线,TMP,DRAWNULL),LINETHICK2,COLORGREEN;