通达信——自用多年,且从未失败的【神剑出...

通达信——自用多年,且从未失败的【神剑出鞘】副图预警指标

RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A1:=MA(C,10)>MA(C,30) AND MA(C,10)>MA(C,60) AND MA(C,20)>MA(C,60) AND MA(C,20)>MA(C,120);
A2:=(C>MA(C,30) AND A1 AND CROSS(J,D) AND K<60);
神剑:=FILTER(A2,9);
STICKLINE(神剑>=0.1,0,20,2,0),COLORBC30F8;
STICKLINE(神剑>=0.1,40,20,2,0),COLORFFFFFF;
STICKLINE(神剑>=0.1,60,40,2,0),COLORRED;
DRAWTEXT(神剑>=0.1,50,' 神剑'),COLORFF00FF;

(0)

相关推荐