通达信版块显示每股收益市净率所属板块等详细信息主图显示源码如下:
{版块显示}
DRAWTEXT_FIX(1,0,0,0,’市盈率:’),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.030,0,0,CONST(DYNAINFO(39))),COLORMAGENTA;
DRAWTEXT_FIX(1,0.075,0,0,’每股收益(元):’),COLOR0080FF;
DRAWNUMBER_FIX(1,0.125,0,0,CONST(FINANCE(38))),COLOR0080FF;
DRAWTEXT_FIX(1,0.165,0,0,’市净率:’),COLORWHITE;
DRAWNUMBER_FIX(1,0.195,0,0,C/FINANCE(34)),COLORWHITE;
DRAWTEXT_FIX(FINANCE(43)>0,0.235,0,0,STRCAT(‘利润同比%: ‘,VAR2STR(FINANCE(43),2))),COLORRED;
DRAWTEXT_FIX(FINANCE(43)<0,0.235,0,0,STRCAT(‘利润同比%: ‘,VAR2STR(FINANCE(43),2))),COLORGREEN;
{DRAWTEXT_FIX(1,0.45,0,0,’所属板块:’),COLORYELLOW;}
DRAWTEXT_FIX(1,0.32,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.37,0,0,DYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.41,0,0,GNBLOCK),COLOR0080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.06,0,FGBLOCK),COLORYELLOW; {第二行靠左显示}
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.41,0.06,0,FGBLOCK),COLORYELLOW;} {第二行显示}
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.75,0,0,FGBLOCK),COLORYELLOW;} {第一行靠后显示};
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/17335.html,转载请注明出处。