双周期MACD+MACD练习用主图(源码 主图+副图 通达信 贴图)
{双周期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;
- 上一篇:RSI极地上涨 日周月RSI 自用RSI指标 2016/8/13
- 下一篇:根据@自由做自己老师指标改的:金三角(源码 副图 通达信 贴 2016/8/13