以下是通达信大盘分时(分时主图指标)

DRAWTEXT_FIX(ISLASTBAR,0.00,0.06,0,STRCAT(‘涨家数: ‘,CON2STR(DYNAINFO(60),0))),COLORLIRED;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.14,0,STRCAT(‘跌家数: ‘,CON2STR(DYNAINFO(61),0))),COLORGREEN;

DYNAINFO(7),COLORYELLOW;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撑:=L1+P1*0.5/8;
DRAWICON(LONGCROSS(支撑,C,2),C,1);
DRAWICON(LONGCROSS(C,阻力,2),C,2);

总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.0,0.22,0,STRCAT(‘总涨跌比: ‘,CON2STR(总涨跌比,2))),COLORCYAN;

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