联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

双周期MACD+MACD练习用主图(源码 主图+副图 通达信 贴图)

2016-8-13 16:50:34点击:

{双周期MACD 副图}

本DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
本DEA:EMA(本DIF,9);
MACD:(本DIF-本DEA)*2,COLORSTICK;

下DIF:EMA(CLOSE,3)-EMA(CLOSE,7);
下DEA:EMA(下DIF,3);

{带有均线起始位标识的MACD练习用 主图}
M5:MA(C,5);
M13:MA(C,13);
M50:MA(C,50);
M250:MA(C,250);
DRAWICON(CROSS(BACKSET(ISLASTBAR,5),0.5),M50,39);
DRAWTEXT(CROSS(BACKSET(ISLASTBAR,5),0.5),M50,' 5'),COLORWHITE;
DRAWICON(CROSS(BACKSET(ISLASTBAR,13),0.5),M50,39);
DRAWTEXT(CROSS(BACKSET(ISLASTBAR,13),0.5),M50,' 13'),COLORWHITE;
DRAWICON(CROSS(BACKSET(ISLASTBAR,50),0.5),M50,39);
DRAWTEXT(CROSS(BACKSET(ISLASTBAR,50),0.5),M50,' 50'),COLORWHITE;
DRAWICON(CROSS(BACKSET(ISLASTBAR,250),0.5),M50,39);
DRAWTEXT(CROSS(BACKSET(ISLASTBAR,250),0.5),M50,' 250'),COLORWHITE;