以下是通达信公式分享之二:F10资料在主图中添加(流通盘、每股收益等)(无源码的请下载附件导入)
DRAWTEXT_FIX(1,0.00,0.00,0,'所属板块:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.04,0.00,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.08,0.00,0,HYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.12,0.00,0,GNBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.06,0,'流通A股:')COLOR0080FF;
DRAWTEXT_FIX(1,0.04,0.06,0,STRCAT(CON2STR(CAPITAL/1000000,2),' (亿股)'))COLOR0080FF;
DRAWTEXT_FIX(1,0.00,0.12,0,'每股收益:')COLORFF00FF;
DRAWTEXT_FIX(1,0.04,0.12,0,STRCAT(CON2STR(FINANCE(30)/FINANCE(1),2),' (元/股)'))COLORFF00FF;
DRAWTEXT_FIX(1,0.00,0.18,0,'每股净资产(元):')COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.18,0,CON2STR(FINANCE(34),2))COLORGRAY;
DRAWTEXT_FIX(1,0.00,0.24,0,'每股公积金(元):')COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.24,0,CON2STR(FINANCE(18),2))COLORGRAY;
DRAWTEXT_FIX(1,0.00,0.30,0,'每股未分配(元):')COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.30,0,CON2STR(FINANCE(32),2))COLORGRAY;
DRAWTEXT_FIX(1,0.00,0.36,0,'经营现金流(元):')COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.36,0,CON2STR(FINANCE(25)/FINANCE(1),2))COLORGRAY;
616166035.jpg
|