VAR1:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR2:=EMA(VAR1,100);
VAR3:=2*(VAR1-VAR2);
VAR4:=POW(VAR3,3)*0.1+POW(VAR3,1);
VAR5:=IF(VAR3>0.1,VAR4,0)*5;
VAR6:=MA(VAR5,9);
VAR7:=MA((LOW+HIGH+CLOSE*2)/4,10);
VAR8:=HHV(VAR7,9);
VAR9:=HHV(HIGH,60)*0.98;
GS:=(VAR9-VAR8)/VAR8<=0.035;
VARGS:=VAR5>REF(VAR5,1) AND REF(VAR5,1)<REF(VAR5,2);
STICKLINE(VAR5>VAR6,0.6,0.8,3,0),COLORRED;
STICKLINE(GS,0.8,1,3,0),COLORYELLOW;
STICKLINE(VARGS,1,1.2,3,0),COLORMAGENTA;
三色:VAR5>VAR6 AND GS AND VARGS,COLORYELLOW;