同花顺曾氏KDJ指标公式
[code]N:=5;M1:=3;M2:=3;
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)*50,colorred;
[/code]
页:
[1]