本指标在同花顺和通达信均可使用。选股时设置 指标线 底部=80就可选出 见底股票。选股时设置 指标线 黑马=50就可选出黑马启动股票。
N:=9;M1:=3;M2:=3;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
底部:IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,80,0);
黑马:IF(ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3),50,0);
STICKLINE(底部,80,95,0,0),COLORWHITE;
STICKLINE(底部,50,80,3,0),COLOR3366BB;
STICKLINE(底部,50,80,2,0),COLOR3399CC;
STICKLINE(底部,50,80,1,0),COLOR33CCEE;
STICKLINE(底部,50,80,0.1,0),COLOR33FFFF;
STICKLINE(底部,20,50,5,0),COLOR3366BB;
STICKLINE(底部,20,50,3.3,0),COLOR3399CC;
STICKLINE(底部,20,50,1.6,0),COLOR33CCEE;
STICKLINE(底部,20,50,0.1,0),COLOR33FFFF;
STICKLINE(底部,0,20,7,0),COLOR3366BB;
STICKLINE(底部,0,20,5,0),COLOR3399CC;
STICKLINE(底部,0,20,3,0),COLOR33CCEE;
STICKLINE(底部,0,20,1,0),COLOR33FFFF;
STICKLINE(黑马,50,65,0,0),COLORWHITE;
STICKLINE(黑马,30,50,3,0),COLOR000055;
STICKLINE(黑马,30,50,2,0),COLOR000088;
STICKLINE(黑马,30,50,1,0),COLOR0000BB;
STICKLINE(黑马,30,50,0.1,0),COLOR0000EE;
STICKLINE(黑马,10,30,5,0),COLOR000055;
STICKLINE(黑马,10,30,3.3,0),COLOR000088;
STICKLINE(黑马,10,30,1.6,0),COLOR0000BB;
STICKLINE(黑马,10,30,0.1,0),COLOR0000EE;
STICKLINE(黑马,0,10,7,0),COLOR000055;
STICKLINE(黑马,0,10,5,0),COLOR000088;
STICKLINE(黑马,0,10,3,0),COLOR0000BB;
STICKLINE(黑马,0,10,1,0),COLOR0000EE;
DRAWTEXT(VAR2<-110 AND 底部>0,87,'见底'),COLORYELLOW;
DRAWTEXT(VAR2<-110 AND 黑马>0,57,'黑马出现'),COLORRED;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORFFBB00,LINETHICK1;
D:SMA(K,M2,1),COLORFF77FF,LINETHICK1;