超简单KDJ指标 (源码)
2012-09-05 08:56:00来源:本站整理浏览:282
通达信超简单KDJ指标公式股票软件源码如下:
N:=9;
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;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
- 上一篇公式:红线一出10%涨幅指标 (源码)
- 下一篇公式:趋势背离指标 (源码)