当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧KDJ自用副图指标公式(无源码的请下载附件导入)
大智慧KDJ自用副图指标公式
{N:9 M1:3 M2:3}
k55:"kdj.k"(55,3,3);
d55:"kdj.d"(55,3,3);
stickline(k55>=d55,k55,d55,8,0),colorred,linethick2;
stickline(k55<d55,k55,d55,8,0),color00ff00,linethick2;
drawtext(cross(k55,d55) and k55<30,30,'买'),coloryellow;
drawtext(cross(d55,k55) and k55>80,90,'卖'),colorwhite;
DRAWGBK((d55>k55),STRIP(rgb(0,0,200),rgb(0,140,0),0));
d89:"kdj.d"(89,13,3),colorff9900,linethick1;
REFLINE: 0, 20, 50, 80, 100;{公式在线提供:www.gszx.com.cn}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),colorwhite;
D:SMA(K,M2,1),coloryellow;
J:3*K-2*D,COLORFF00FF;
买:=CROSS(J,K) and CROSS(K,D) and D<50;
卖:=CROSS(K,J) and CROSS(D,K) and D>50;
DRAWTEXT(买,D,'买 '),colorff00ff;
DRAWTEXT(卖,D,'卖 '),COLOR00FFFF;
VERTLINE(买,0),colorred;
VERTLINE(卖,0),colorgreen;