联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

均线MACD共振系统

2015-1-12 14:25:54点击:

 

均线看盘啊,看盘,看盘,看盘,均线和布林带

参数P=2,N=20

MA5:MA(C,5);

MA10:MA(C,10);

MA20:MA(C,20),Linethick2;

MA30:MA(C,30),Linethick3;

MA60:MA(C,60),Linethick4;

MID :  MA(CLOSE,20);

UPPER: MID + P*STD(CLOSE,N);

LOWER: MID - P*STD(CLOSE,N);

DRAWGBK(MA20>=MA60),RGB(0,0,0);

DRAWGBK(MA20<MA60),RGB(80,100,120);

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

DRAWICON(CROSS(DEA,DIFF) AND MA20>MA60,H*1.01,2);

DRAWICON(CROSS(DIFF,DEA) AND MA20>MA60,L*0.99,1);