以下是通达信主K线图直接显示市盈率、每股收益等基本面信息(源码 主副图适用)

通达信主K线图直接显示基本面信息公式 牛市后阶段不注意基本面别套住了

直接加入到主K图公式里面就可以了,简单明了,方便大家
 主K图左上方显示
 
{版块显示}
DRAWTEXT_FIX(1,0,0,0,’市盈率:’),COLORYELLOW;
DRAWNUMBER_FIX(1,0.08,0,0,CONST(DYNAINFO(39))),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.05,0,’每股收益(元):’),COLOR0080FF;
DRAWNUMBER_FIX(1,0.08,0.05,0,CONST(FINANCE(38))),COLOR0080FF;
DRAWTEXT_FIX(1,0,0.1,0,’市净率:’),COLORYELLOW;
DRAWNUMBER_FIX(1,0.08,0.1,0,C/FINANCE(34)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.15,0,’总股本(万股):’),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.08,0.15,0,CONST(FINANCE(1)/10000)),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.20,0,’流通盘(万股):’),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.08,0.20,0,CONST(FINANCE(7)/10000)),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.25,0,’所属板块:’),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.25,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.10,0.25,0,DYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.15,0.25,0,GNBLOCK),COLOR0080FF;

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