最新通达信指标公式 通达信优化二次金叉MACD指标公式
2016-09-22 10:49 股票知识 zhishi.southmoney.com
买:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2), COLORRED;
卖:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),COLORF0F000;
DRAWTEXT(买,1.3,'买'),COLORRED;
DRAWTEXT(卖,1.3,'卖'),COLOR80FF00;
DIFF:EMA(CLOSE,15)-EMA(CLOSE,89),COLORWHITE,LINETHICK1;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;
MACD:3*(DIFF-DEA), COLORSTICK,LINETHICK1;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)),LINETHICK4;
(股票知识网zhishi.southmoney.com)
卖:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),COLORF0F000;
DRAWTEXT(买,1.3,'买'),COLORRED;
DRAWTEXT(卖,1.3,'卖'),COLOR80FF00;
DIFF:EMA(CLOSE,15)-EMA(CLOSE,89),COLORWHITE,LINETHICK1;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;
MACD:3*(DIFF-DEA), COLORSTICK,LINETHICK1;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)),LINETHICK4;
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。