简洁KDJ指标 (源码)
2012-02-23 09:08:00来源:本站整理浏览:197
同花顺简洁KDJ指标公式股票软件源码如下:
N:=5;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
FILLRGN(j,0,j<0,RGB(255,255,0));
FILLRGN(j,90,j>90,RGB(255,0,0));
DRAWICON(CROSS(J,1),J,'buy');
DRAWICON(K>90 AND D>80 AND CROSS(D,K),D,'sell');
- 上一篇公式:判断个股强弱指标 (源码)
- 下一篇公式:倍量柱指标 (源码)