分享个自用的做波段的指标,感觉挺好用的
RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
K:SMA(RSV,14,1),COLOR009900,LINETHICK2; D:SMA (K,10,1),COLORFF00FF,LINETHICK3;
MA6:=MA(C,6);
MA34:=MA(C,34);
STICKLINE(CROSS(MA6,MA34) AND K>D,K+9,D,3,0),COLOR00FFFF;
DRAWTEXT(CROSS(MA6,MA34) AND K>D,K,' ★波段起爆'),COLOR0080FF;
SCD:IF(CROSS(MA34,MA6), K,D),COLOR00FFFF,LINETHICK2;
DRAWTEXT(CROSS(MA34,MA6),K,' ★休息'),COLOR00FFFF;
STICKLINE(CROSS(K,D) AND K<30 AND D<30,K+5,D-2,5,0),COLORRED;