通达信均线扣抵主图公式

2017-03-20 10:18:00来源:本站整理浏览:840

通达信均线扣抵主图公式

源码

M1:=5;
M2:=11;
M3:=31;
M4:=63;
M5:=130;
M6:=250;
MA5:MA(CLOSE,M1);
MA10:MA(CLOSE,M2);
MA20:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
MA120:MA(CLOSE,M5);
MA240:MA(CLOSE,M6);
DRAWICON(CURRBARSCOUNT=5+1,L/1.015,13);
DRAWICON(CURRBARSCOUNT=11+1,L/1.015,26);
DRAWICON(CURRBARSCOUNT=31+1,L/1.015,25);
DRAWICON(CURRBARSCOUNT=63+1,L/1.015,27);
DRAWICON(CURRBARSCOUNT=130+1,L/1.015,14);
DRAWICON(CURRBARSCOUNT=250+1,L/1.015,66);
DRAWTEXT(CURRBARSCOUNT=5+1,L/1.035,'5日');
DRAWTEXT(CURRBARSCOUNT=11+1,L/1.035,'11日');
DRAWTEXT(CURRBARSCOUNT=31+1,L/1.035,'31日');
DRAWTEXT(CURRBARSCOUNT=63+1,L/1.035,'63日');
DRAWTEXT(CURRBARSCOUNT=130+1,L/1.035,'130日');
DRAWTEXT(CURRBARSCOUNT=250+1,L/1.035,'250日');


效果图如下:

通达信均线扣抵主图公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式