通达信主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;