通达信无滞后KDJ金叉买指标公式
2014-02-18 10:56 股票知识 zhishi.southmoney.com
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:MA(J,3);
K:MA(J,1),LINETHICK2;
SD:CROSS(D,0);
XD:=IF(BACKSET(J》0,1),1,DRAWNULL);
XD1:=IF(LAST(XD=1,3,3),1,DRAWNULL);
DRAWTEXT(FILTER(COUNT(XD1 AND(CROSS(D,K)),12)=2,8)AND CROSS(D,K),D,‘必卖’),COLORGREEN;
DRAWTEXT(FILTER(CROSS(D,K)AND J》0.2,5),D+0.09,‘死叉卖,下金叉前不买’);
DRAWTEXT(CROSS(K,D)AND J《=-0.2,K-0.08,‘金叉买’),COLORRED;
DRAWTEXT(CROSS(K,0),-0.03,‘加仓’),COLORYELLOW;
(股票知识网zhishi.southmoney.com) 股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
要闻导读
|
||||||||||
|