源码
H1:EMA(SLOPE(CLOSE,34)*20+CLOSE,75),COLORYELLOW;
H2:EMA(CLOSE,8),COLORWHITE;
VAR0:=H2-H1;
STICKLINE(VAR0>=0,H2,H1,0.5,0),COLORRED;
STICKLINE(VAR0<0,H2,H1,0.5,0), COLORGREEN;
H0:EMA(H2,20);
VAR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;
VAR2:=SMA(VAR1,5,1);
VAR3:=SMA(VAR2,8,1);
VAR4:=CROSS(VAR2,VAR3) AND VAR3< 20;
VAR5:=C>LLV(C,60)*1.13 AND VAR4;
VAR6:=IF(C>200,VAR4,VAR5);
STICKLINE(H2>H0,H2,H0,0,1),COLORMAGENTA;
STICKLINE(H2< H0,H2,H0,0,1),COLORFF9933;