改编KDJ(副图 指标)不含选股
2016-6-11 13:37:56点击:
N1:=IF(N=0,26,IF(N=1,8,IF(N=2,14,9)));
M1:=IF(N=0,2, IF(N=1,3,IF(N=2,24,3)));
M2:=IF(N=0,2, IF(N=1,3,IF(N=2,4,3)));
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:IF(N=0,3*D-2*K,3*K-2*D);
DRAWBAND(D,RGB(255,0,0),J,RGB(0,255,255));
DRAWBAND(K,RGB(255,255,0),D,RGB(0,0,255));
NOTEXT2:=20,DOTLINE,COLORLIGRAY;
NOTEXT5:=50,DOTLINE,COLORLIGRAY;
NOTEXT8:=80,DOTLINE,COLORLIGRAY;
M1:=IF(N=0,2, IF(N=1,3,IF(N=2,24,3)));
M2:=IF(N=0,2, IF(N=1,3,IF(N=2,4,3)));
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:IF(N=0,3*D-2*K,3*K-2*D);
DRAWBAND(D,RGB(255,0,0),J,RGB(0,255,255));
DRAWBAND(K,RGB(255,255,0),D,RGB(0,0,255));
NOTEXT2:=20,DOTLINE,COLORLIGRAY;
NOTEXT5:=50,DOTLINE,COLORLIGRAY;
NOTEXT8:=80,DOTLINE,COLORLIGRAY;
- 上一篇:没有啦
- 下一篇:KDJ底背离(主图 副图/选股 源码) 2016/6/11