通达信变异KDJ公式源码
变异KDJ
参数
N 1 100 85
M1 2 40 7
M2 2 40 6
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),LINETHICK2,COLOREEEE33;
D:SMA(K,M2,1),LINETHICK2 ,COLOR6699FF;
J:=3*K-2*D;
买入:=CROSS(J,D )AND CROSS(J,K)AND K <40 AND D<50 AND J<50;
DRAWICON(买入=1,20,4);