通达信周KD指标公式
2020/1/24 18:57:25
A1:="KD.K"(9,3,3);
A2:="KD.D"(9,3,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
周K:MA("KDJ.K#WEEK"(9,3,3) ,5);
周D:MA("KDJ.D#WEEK"(9,3,3) ,5);
周J:MA("KDJ.J#WEEK"(9,3,3) ,5);
DRAWTEXT(CROSS("KDJ.K#WEEK"(9,3,3),"KDJ.D#WEEK"(9,3,3)),20,'好马');
DRAWTEXT(CROSS("KDJ.D#WEEK"(9,3,3),"KDJ.K#WEEK"(9,3,3)),100,'卖马');
{投股票网-股票公式网站 www.tou18.cn}
0;
STICKLINE( 周J>ref(周J,1)and 周K>周D,0 ,20 ,10 ,0 ),Colorred;
STICKLINE( 周J<ref(周J,1)and 周K>周D,0 ,20 ,10 ,0 ),Colorgreen;
投股票 网 w ww.tou18.cn
股市公式下载推荐