这是根据原网上精品KDJ做小小的修改而来(原公式是通达信版,我优化了小参数,经过较长时间测试,还不错),这其实是KDJ理念提示化,对于对KDJ没有太多经验的朋友们希望有用。
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),LINETHICK1;
D:SMA(K,3,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
partline(j,j<0,rgb(0,128,0)),linethick2;
partline(k,k>91,rgb(255,0,0)),linethick2;
partline(d,d>84,rgb(64,224,208)),linethick2;
drawicon(cross(j,0),j,7),ALIGN1,VALIGN1;
drawicon(k>80 and d>80 and cross(d,k),d,8),ALIGN1,VALIGN1;