AA:=Abs((2*CLOSE+HIGH+LOW)/4-ma(CLOSE,30))/MA(CLOSE,30);
买卖线:dma((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORLIMAGENTA;
CC:=(CLOSE/买卖线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-买卖线)/买卖线)/3;
TMP:=MA1-MAAA*MA1;
J:IF(TMP<=买卖线,买卖线,DRAWNULL),LINETHICK3,COLORGREEN;
A:TMP,LINETHICK2,COLORBLUE;
X:IF(TMP<=买卖线,TMP,DRAWNULL),LINETHICK2,COLORCYAN;