均线和均线扣抵主图指标 通达信公式(附图)

[复制链接]
查看127 | 回复0 | 2021-8-20 19:55:24 | 显示全部楼层 |阅读模式

M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=120;
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=10+1,L/1.015,26);
DRAWICON(CURRBARSCOUNT=20+1,L/1.015,25);
DRAWICON(CURRBARSCOUNT=60+1,L/1.015,27);
DRAWICON(CURRBARSCOUNT=120+1,L/1.015,14);
DRAWICON(CURRBARSCOUNT=240+1,L/1.015,66);
DRAWTEXT(CURRBARSCOUNT=5+1,L/1.035,'5');
DRAWTEXT(CURRBARSCOUNT=10+1,L/1.035,'10');
DRAWTEXT(CURRBARSCOUNT=20+1,L/1.035,'20');
DRAWTEXT(CURRBARSCOUNT=60+1,L/1.035,'60');
DRAWTEXT(CURRBARSCOUNT=120+1,L/1.035,'120');
DRAWTEXT(CURRBARSCOUNT=240+1,L/1.035,'240');

14O2531R3F-1A18.jpg

14O2531R3F-1A18.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则