VAR3C1:=EMA(CLOSE,1);
VAR3C2:=EMA(VAR3C1,5) ;
VAR3:=EMA(HHV(VAR3C2,5),1);
VAR4:EMA(HHV(VAR3,17),1),COLORYELLOW,LINETHICK1;
VAR5:EMA(HHV(VAR4,17),2),COLORCYAN;
DRAWICON(crOSS(VAR4,VAR5),L*1.002,23);
DRAWTEXT(CROSS(VAR4,VAR5),LOW*1.01,' →走平后上翘'),COLORYELLOW;
VAR6:EMA(HHV(VAR5,17),3),COLORRED,LINETHICK1;
VAR7:(1+6/100)*MA(CLOSE,25),COLORGREEN,LINETHICK2;
VAR8:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(VAR8>6,O,C,2,0),COLORMAGENTA;
STICKLINE(VAR8< -9.8,O,C,2,0),COLOR00FF00;
IF(VAR5=VAR6,VAR5,DRAWNULL),COLORYELLOW,LINETHICK5;