通达信KD金叉死叉指标公式的解析
2014-07-25 15:59 股票知识 zhishi.southmoney.com
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
金叉:=CROSS(K,D);
死叉:=CROSS(D,K);
STICKLINE(金叉=1 AND D《30 AND K《30,0,20,1,0),COLORRED;
DRAWTEXT(金叉=1 AND D《30 AND K《30,0,‘ 金叉’),COLORRED;
STICKLINE(死叉=1 AND D》70 AND K》70,80,100,1,0),COLORGREEN;
DRAWTEXT(死叉=1 AND D》70 AND K》70,90,‘ 死叉’),COLORGREEN
(股票知识网zhishi.southmoney.com) 股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
要闻导读
|
||||||||||
|