VAR1:=EMA(CLOSE,12)-EMA(CLOSE,24);
VAR11:=EMA(CLOSE,24)-EMA(CLOSE,12);
VAR2:=EMA(VAR1,9);
VAR22:=EMA(VAR11,9);
VAR3:=(VAR1-VAR2)*10;
VAR33:=(VAR11-VAR22)*12;
VAR5:= IF( VAR3>0.5,POW(VAR3,3)*10/10+POW(VAR3,3),0);
VAR55:= IF( VAR33>0.5,POW(VAR33,3)*10/10+POW(VAR33,3),0);
顶:VAR5>0;
底:VAR55>0;
DRAWICON(顶=1 AND REF(顶,1)=0 AND REF(顶,2)=0 AND REF(顶,3)=0 AND REF(顶,4)=0 AND REF(顶,5)=0 AND REF(顶,6)=0 AND REF(顶,7)=0 AND REF(顶,8)=0,0,1);