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;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。