同花顺精准反转副图指标 源码介绍
同花顺精准反转副图指标 源码
发出“买进”为买入参考信号,此时还要结合均线系统,短期均线距离长期均线距离较远,形成短线超跌厉害,一般来说跌幅20%以上为佳。
N:=16;
M1:=8;
M2:=4;
RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100;
LWR1:SMA(RSV,M1,1),colormagenta;
LWR2:SMA(LWR1,M2,1);
DRAWTEXT(CROSS(LWR2,LWR1) AND LWR1>80 AND LWR2>80 , LWR2, '买进'),colormagenta;
DRAWTEXT(CROSS(LWR1,LWR2) AND LWR1<20 AND LWR2<20 , LWR1, '卖出'),colorgreen;
N:=15;
M:=250;
XG:=CROSS(LWR2,LWR1) AND LWR1>80 AND LWR2>80;
M日内选股次数:SUM(XG,M),NODRAW;
N日内涨3点卖出:HHV(H,N)>REF(C,N)*1.03 AND REF(CROSS(XG,0.8),N);
M日内成功次数:SUM(N日内涨3点卖出,M),NODRAW;
成功率:M日内成功次数/M日内选股次数*100,NODRAW;
gd47330