通达信抵扣均线主图指标公式源码副图

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250);
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');
A5:=REF(C,6);
B5:=stRCAT('5日抵扣价:',CON2STR(A5,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.05,0,B5),COLOR00FA9A;
A10:=REF(C,11);
B10:=STRCAT('10日抵扣价:',CON2STR(A10,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.10,0,B10),COLOR9400D3;
A20:=REF(C,21);
B20:=STRCAT('20日抵扣价:',CON2STR(A20,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.15,0,B20),COLORYELLOW;
A60:=REF(C,61);
B60:=STRCAT('60日抵扣价:',CON2STR(A60,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.20,0,B60),COLORCYAN;
A120:=REF(C,121);
B120:=STRCAT('120日抵扣价:',CON2STR(A120,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.25,0,B120),COLORFF8C00;
A250:=REF(C,251);
B250:=STRCAT('250日抵扣价:',CON2STR(A250,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.30,0,B250),COLORRED;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图