通达信超强KDJ副图指标(源码 附图)
2017-06-05 10:13:00来源:本站整理浏览:228
{INPUT:N(25,1,999),M1(5,1,999),M2(5,1,999);}
N:=25;
M1:=5;
M2:=5;
RSV:=(CLOSE-LLV(LOW,N))*(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK2;
D:SMA(K,3,1),COLORYELLOW,LINETHICK2;
J:3*K-2*D,COLORYELLOW,LINETHICK2;
IF(K<REF(K,1),K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK2;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK2;
IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK2;
- 上一篇公式:含34日均线角度的阳包阴选股公式
- 下一篇公式:通达信上出下买+三背离买卖副图指标(源码 贴图 顶背离 操作线)