以下是大智慧自用KDJ指标公式不错
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:SMA(RSV,3,1),COLORFFFFFF;
D:SMA(K,3,1),COLOR00FFFF;
J:3*K-2*D,COLORFF00FF;
抄底:if(REF(COUNT(k=5,1) AND COUNT(K=2 AND COUNT(J0 AND CROSS(J,0),90,50),color00ffff;
tj00:=BARSLAST(ref(cross(k,d) and ref(k,1)<35,1));
tj11:=c<ref(c,tj00+1)*1.1 and ref(k,1)<60 and (tj00+1)5 and k>ref(k,tj00+1) and cross(k,d);
加仓:if(tj11,35,0),color1111ff;