联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

MMACD

2015-5-15 13:24:46点击:


免费体验:请加微信号:18020657357。

 DIFF:EMA(CLOSE,P1)-EMA(CLOSE,P2),colorcyan,Linethick1;

DEA:EMA(DIFF,P3),coloryellow,Linethick1;
MACD:(DIFF-DEA)*2,COLORSTICK;
低位金:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金,0,0.1,9,0),coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,34)=1;    STICKLINE(二次金,0,0.1,9,0),colorcyan;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS (DIFF,DEA);
STICKLINE(底背离,0,-0.1,9,0),colorred;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS (DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorred,LINETHICK2;