A:=EMA(CLOSE,8)-EMA(CLOSE,20);
B:=EMA(A,5);
AA:=A>B;
BB:=A<B;
STICKLINE(AA,A,B,2,0),COLORRED;
STICKLINE(BB,A,B,2,0),COLORGREEN;
突破或支撑:(HHV(B,100)+ABS(LLV(B,100)))/2,NODRAW;
IF(突破或支撑,突破或支撑,DRAWNULL),COLORFFFFFF,DOTLINE;
IF(突破或支撑=REF(突破或支撑,1) AND BARSLAST(突破或支撑>REF(突破或支撑,1) OR 突破或支撑<REF(突破或支撑,1))>3,突破或支撑,DRAWNULL),COLOR00FFFF;
突破或支撑/4,DOTLINE,COLORFFFF00;
突破或支撑/2,DOTLINE,COLORFFFF00;
突破或支撑/4*3,DOTLINE,COLORFFFF00;
-突破或支撑/4,DOTLINE,COLORFFFF00;
-突破或支撑/2,DOTLINE,COLORFFFF00;
-突破或支撑/4*3,DOTLINE,COLORFFFF00;