「翔博精选指标」KDJ买卖点提示(通达信公式 副图 测试图)
2021-11-19原创 编 辑:翔博软件
公式没未来函数,买卖点提示信号不漂移。
SJ:=1;
N:=15;
M1:=5;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K9:=SMA(RSV,M1,1);
D9:=SMA(K9,M2,1);
J:=3*K9-2*D9;
RK:MA(K9,15)*SJ,LINETHICK1;
RD:MA(D9,15)*SJ,LINETHICK1;
RJ:MA(J,15)*SJ,LINETHICK1;
DRAWTEXT(CROSS(RK,RD)*SJ&&RD<20,RK*0.80,'多'),COLORRED;
DRAWTEXT(CROSS(RD,RK)*SJ&&RD>80,78,'空'),COLORGREEN,DRAWABOVE;