以下是通达信分时叠加板块、财务,最新,涨跌、涨幅

{新建公式时选择“主图叠加”,再在分时图选择“分时主图指标”}

DRAWTEXT_FIX(1,0,0,0,’【行业】:’),COLORAAEEEE;
 DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK),COLORAAEEEE;{行业}
DRAWTEXT_FIX(1,0,0.03,0,’【概念】:’),COLOR00A5FF;
 DRAWTEXT_FIX(1,0.06,0.03,0,GNBLOCK),COLOR00A5FF;{概念}
DRAWTEXT_FIX(1,0,0.06,0,’【地域】:’),COLORF9FF00;
 DRAWTEXT_FIX(1,0.06,0.06,0,DYBLOCK),COLORF9FF00;{地域}
流通盘:=STRCAT(STRCAT(‘流通盘: ‘,CON2STR(CAPITAL/1000000,2)),’ 亿’),COLOR00FFFF;
收益:=STRCAT(STRCAT(‘收 益: ‘,CON2STR(FINANCE(33)/(5-FINANCE(37)),3)),’ 元’),COLOR00FFFF;
 PE:=STRCAT(STRCAT(‘PE(动): ‘,CON2STR(C/FINANCE(33),1)),’ 倍’),COLOR00FFFF;
 DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,流通盘),COLOR00FFFF;
 DRAWTEXT_FIX(ISLASTBAR,0.5,0.03,0,收益),COLORFF00FF;
 DRAWTEXT_FIX(ISLASTBAR,0.5,0.06,0,PE),COLORFFFF00;
买出价:=STRCAT(STRCAT(‘当前买出价: ‘,CON2STR(DYNAINFO(20),2)),’元’),COLOR0000FF;
买入价:=STRCAT(STRCAT(‘当前买入价: ‘,CON2STR(DYNAINFO(21),2)),’元’),COLORFFFF00;
 DRAWTEXT_FIX(ISLASTBAR,0.5,0.75,0,买出价),COLORGREEN;
 DRAWTEXT_FIX(ISLASTBAR,0.5,0.7,0,买入价),COLORRED;
 DRAWNUMBER(ISLASTBAR=1,CLOSE,CLOSE),COLORFFFFFF;
 DRAWNUMBER(ISLASTBAR=1,CLOSE*0.996,DYNAINFO(14)*100),COLOR00FFFF;
 DRAWNUMBER(ISLASTBAR=1,CLOSE*0.998,DYNAINFO(12)),COLORFFFF00;

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