通达信短KDJ买卖提示指标公式

通达信金山龙头指标公式

通达信短KDJ买卖提示指标公式:

SJ:=1;

严重超买:100*SJ,COLORRED,POINTDOT;

超买:80,COLORRED,POINTDOT;

超卖:20,COLOR00FF00,POINTDOT;

严重超卖:0*SJ,COLOR00FF00,POINTDOT;

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;

通达信盘丝洞指标公式