自改的kdj源码
-
相关简介:RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 短线:ma(j,5); 中线:MA(k,7); 长线:ma(d,25),Linethick2; DRAWTEXT(CROSS(短线,长线) ,长线+0.19,'强'); DRAWTEXT(CROSS(短线,中线) ,短线-0.03,'买'); DRAWTEXT(CROSS(长线,短线),长线-0.
-
文章来源:股海网作者:股海网发布时间:2014-12-18浏览次数:
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
短线:ma(j,5);
中线:MA(k,7);
长线:ma(d,25),Linethick2;
DRAWTEXT(CROSS(短线,长线) ,长线+0.19,'强');
DRAWTEXT(CROSS(短线,中线) ,短线-0.03,'买');
DRAWTEXT(CROSS(长线,短线),长线-0.03,'卖')