求高手编一个通达信KDJ选股公式!

只找到了个反图。股价创新低,但KDJ ,J 值上移!谢谢了
2024-11-16 10:19:44
推荐回答(1个)
回答(1):

N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);