把这个同花顺的KDJ公式改成通达信可用
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

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');n=9 m1=3 m2=3很直观,最好效果相同,先谢过。

解答:

 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;

K:SMA(RSV,3,1),LINETHICK1;
D:SMA(K,3,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
NN:=IF(J>90,J,DRAWNULL);
OK:=IF(J<0,J,DRAWNULL);
DRAWBAND(OK,RGB(250,250,0),J,RGB(0,0,0));
DRAWBAND(NN,RGB(250,0,0),J,RGB(0,0,0));
DRAWICON(CROSS(J,1),J,1);
DRAWICON(D>80 AND CROSS(D,K),D,2);
 

选股票看什么指标最好 >股票指标网