通达信叠加在主图的基本面指标公式

 

{-------------------------------------------------基本面----------------------------------------------}
{距形}
DRAwrECTREL(0,0,378,348,RGB(0,32,64));
{基本资料}
品种类型:=FINANCE(3);
所属板块:=HYBLOCK;
上市天数:=FINANCE(42);
股总市值:=ROUND(FINANCE(41)/100000000);
流通市值:=ROUND(FINANCE(40)/100000000);
股东人数:=FINANCE(8);
人均持股:=ROUND(FINANCE(7)/FINANCE(8));
{}
DRAWTEXT_FIX(1,0.008,0.01,0,'基本资料:'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.008,0.05,0,'品种类型:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.008,0.09,0,'行业板块:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.008,0.13,0,'上市天数:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.008,0.17,0,'股东人数:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.008,0.21,0,'人均持股:'),COLORLIGREEN;
{}
DRAWTEXT_FIX(品种类型=1,0.055,0.05,0,'沪 深 A 股'),COLORYELLOW;
DRAWTEXT_FIX(品种类型=2,0.055,0.05,0,' 中 小 板'),COLORYELLOW;
DRAWTEXT_FIX(品种类型=3,0.055,0.05,0,' 创 业 板'),COLORYELLOW;
DRAWTEXT_FIX(1,0.055,0.09,0,HYBLOCK),COLORYELLOW;{行业板块}
{数值}
DRAWNUMBER_FIX(1,0.050,0.13,0,上市天数),COLORCYAN;
DRAWNUMBER_FIX(1,0.050,0.17,0,股东人数),COLORCYAN;
DRAWNUMBER_FIX(1,0.050,0.21,0,人均持股),COLORCYAN;
{单位}
DRAWTEXT_FIX(1,0.08,0.13,0,'天'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.17,0,'人'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.21,0,'股'),COLORWHITE;
{所属板块}
DRAWTEXT_FIX(1,0.008,0.25,0,'地区板块:')COLORLIGREEN;
DRAWTEXT_FIX(1,0.048,0.25,0,DYBLOCK)COLORCYAN;
DRAWTEXT_FIX(1,0.095,0.25,0,'概念板块:')COLORLIGREEN;
DRAWTEXT_FIX(1,0.135,0.25,0,GNBLOCK)COLORCYAN;
DRAWTEXT_FIX(1,0.008,0.29,0,'风格板块:')COLORLIGREEN;
DRAWTEXT_FIX(1,0.048,0.29,0,FGBLOCK)COLORCYAN;
{财务(1)}
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营收入同比%:=FINANCE(44);{主营收入同比增长率}
净利润同比%:=FINANCE(43);{净利润同比增长率}
{}
DRAWTEXT_FIX(1,0.105,0.01,0,'财务资料(1):'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.105,0.05,0,'净资产收益率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.105,0.09,0,'主营业务利润率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.105,0.13,0,'现金流动负债比:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.105,0.17,0,'主营收入同比%:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.105,0.21,0,'净利润同比%:'),COLORLIGREEN;
{}
DRAWNUMBER_FIX(1,0.171,0.05,0,净资收益率),COLORCYAN;
DRAWNUMBER_FIX(1,0.171,0.09,0,主营利润率),COLORCYAN;
DRAWNUMBER_FIX(1,0.171,0.13,0,现金负债比),COLORCYAN;
DRAWNUMBER_FIX(1,0.171,0.17,0,主营收入同比%),COLORCYAN;
DRAWNUMBER_FIX(1,0.171,0.21,0,净利润同比%),COLORCYAN;
{财务(2)}
每股收益:=CONST(FINANCE(38));{近期}{每股税后利润}
每股收益年:=CONST(FINANCE(33));
每股净资产:=CONST(FINANCE(34));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
{}
DRAWTEXT_FIX(1,0.210,0.01,0,'财务资料(2):'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.210,0.05,0,'每股收益(近):'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.210,0.09,0,'每股收益年:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.210,0.13,0,'每股净资产:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.210,0.17,0,'每股未分配:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.210,0.21,0,'每股公积金:'),COLORLIGREEN;
{}
DRAWNUMBER_FIX(1,0.281,0.05,1,每股收益),COLORCYAN;
DRAWNUMBER_FIX(1,0.281,0.09,1,每股收益年),COLORCYAN;
DRAWNUMBER_FIX(1,0.281,0.13,1,每股净资产),COLORCYAN;
DRAWNUMBER_FIX(1,0.281,0.17,1,每股未分配),COLORCYAN;
DRAWNUMBER_FIX(1,0.281,0.21,1,每股公积金),COLORCYAN;
{}
{财务(3)}
市盈率:=DYNAINFO(39);
市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
市净率:=CONST(DYNAINFO(7) / FINANCE(34));
毛利率:=((FINANCE(20)-FINANCE(21))/FINANCE(20)*100);
净利润率:=CONST(FINANCE(30)/FINANCE(20));
{}
DRAWTEXT_FIX(1,0.300,0.01,0,'财务资料(3):'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.300,0.05,0,'市盈率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.300,0.09,0,'市销率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.300,0.13,0,'市净率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.300,0.17,0,'毛利率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.300,0.21,0,'净利润率:'),COLORLIGREEN;
{}
DRAWNUMBER_FIX(1,0.361,0.05,1,市盈率),COLORCYAN;
DRAWNUMBER_FIX(1,0.361,0.09,1,市销率),COLORCYAN;
DRAWNUMBER_FIX(1,0.361,0.13,1,市净率),COLORCYAN;
DRAWNUMBER_FIX(1,0.361,0.17,1,毛利率),COLORCYAN;
DRAWNUMBER_FIX(1,0.361,0.21,1,净利润率),COLORCYAN;




来函数检测结果如下
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

相对位置上画矩形
品种类型赋值:沪深京品种类型
所属板块赋值:所属行业(字串)
上市天数赋值:上市的天数
股总市值赋值:对AB股总市值/100000000(进行)四舍五入
流通市值赋值:对流通市值/100000000(进行)四舍五入
股东人数赋值:股东人数(户)
人均持股赋值:对流通股本(股)/股东人数(户)(进行)四舍五入
当满足条件1时,在横轴0.008纵轴0.01位置书写文字,画淡蓝色
当满足条件1时,在横轴0.008纵轴0.05位置书写文字,画淡绿色
当满足条件1时,在横轴0.008纵轴0.09位置书写文字,画淡绿色
当满足条件1时,在横轴0.008纵轴0.13位置书写文字,画淡绿色
当满足条件1时,在横轴0.008纵轴0.17位置书写文字,画淡绿色
当满足条件1时,在横轴0.008纵轴0.21位置书写文字,画淡绿色
当满足条件品种类型=1时,在横轴0.055纵轴0.05位置书写文字,画黄色
当满足条件品种类型=2时,在横轴0.055纵轴0.05位置书写文字,画黄色
当满足条件品种类型=3时,在横轴0.055纵轴0.05位置书写文字,画黄色
当满足条件1时,在横轴0.055纵轴0.09位置书写文字,画黄色
当满足条件1时,在横轴0.050纵轴0.13位置书写数字,画青色
当满足条件1时,在横轴0.050纵轴0.17位置书写数字,画青色
当满足条件1时,在横轴0.050纵轴0.21位置书写数字,画青色
当满足条件1时,在横轴0.08纵轴0.13位置书写文字,画白色
当满足条件1时,在横轴0.08纵轴0.17位置书写文字,画白色
当满足条件1时,在横轴0.08纵轴0.21位置书写文字,画白色
当满足条件1时,在横轴0.008纵轴0.25位置书写文字画淡绿色
当满足条件1时,在横轴0.048纵轴0.25位置书写文字画青色
当满足条件1时,在横轴0.095纵轴0.25位置书写文字画淡绿色
当满足条件1时,在横轴0.135纵轴0.25位置书写文字画青色
当满足条件1时,在横轴0.008纵轴0.29位置书写文字画淡绿色
当满足条件1时,在横轴0.048纵轴0.29位置书写文字画青色
净资收益率赋值:(每股收益(全年折算)/每股净资产*100)
主营利润率赋值:(营业利润/营业收入*100)
现金负债比赋值:(经营现金流量/流动负债)
主营收入同比%赋值:收入同比%
净利润同比%赋值:利润同比%
当满足条件1时,在横轴0.105纵轴0.01位置书写文字,画淡蓝色
当满足条件1时,在横轴0.105纵轴0.05位置书写文字,画淡绿色
当满足条件1时,在横轴0.105纵轴0.09位置书写文字,画淡绿色
当满足条件1时,在横轴0.105纵轴0.13位置书写文字,画淡绿色
当满足条件1时,在横轴0.105纵轴0.17位置书写文字,画淡绿色
当满足条件1时,在横轴0.105纵轴0.21位置书写文字,画淡绿色
当满足条件1时,在横轴0.171纵轴0.05位置书写数字,画青色
当满足条件1时,在横轴0.171纵轴0.09位置书写数字,画青色
当满足条件1时,在横轴0.171纵轴0.13位置书写数字,画青色
当满足条件1时,在横轴0.171纵轴0.17位置书写数字,画青色
当满足条件1时,在横轴0.171纵轴0.21位置书写数字,画青色
每股收益赋值:每股收益(最近一期)的最后一日取值设为常数
每股收益年赋值:每股收益(全年折算)的最后一日取值设为常数
每股净资产赋值:每股净资产的最后一日取值设为常数
每股现金流赋值:(经营现金流量/总股本(股))的最后一日取值设为常数
每股未分配赋值:每股未分配利润的最后一日取值设为常数
每股公积金赋值:每股公积金的最后一日取值设为常数
当满足条件1时,在横轴0.210纵轴0.01位置书写文字,画淡蓝色
当满足条件1时,在横轴0.210纵轴0.05位置书写文字,画淡绿色
当满足条件1时,在横轴0.210纵轴0.09位置书写文字,画淡绿色
当满足条件1时,在横轴0.210纵轴0.13位置书写文字,画淡绿色
当满足条件1时,在横轴0.210纵轴0.17位置书写文字,画淡绿色
当满足条件1时,在横轴0.210纵轴0.21位置书写文字,画淡绿色
当满足条件1时,在横轴0.281纵轴0.05位置书写数字,画青色
当满足条件1时,在横轴0.281纵轴0.09位置书写数字,画青色
当满足条件1时,在横轴0.281纵轴0.13位置书写数字,画青色
当满足条件1时,在横轴0.281纵轴0.17位置书写数字,画青色
当满足条件1时,在横轴0.281纵轴0.21位置书写数字,画青色
市盈率赋值:市盈(动)
市销率赋值:总股本(股)*现价/营业收入的最后一日取值设为常数
市净率赋值:现价/每股净资产的最后一日取值设为常数
毛利率赋值:((营业收入-营业成本)/营业收入*100)
净利润率赋值:净利润/营业收入的最后一日取值设为常数
当满足条件1时,在横轴0.300纵轴0.01位置书写文字,画淡蓝色
当满足条件1时,在横轴0.300纵轴0.05位置书写文字,画淡绿色
当满足条件1时,在横轴0.300纵轴0.09位置书写文字,画淡绿色
当满足条件1时,在横轴0.300纵轴0.13位置书写文字,画淡绿色
当满足条件1时,在横轴0.300纵轴0.17位置书写文字,画淡绿色
当满足条件1时,在横轴0.300纵轴0.21位置书写文字,画淡绿色
当满足条件1时,在横轴0.361纵轴0.05位置书写数字,画青色
当满足条件1时,在横轴0.361纵轴0.09位置书写数字,画青色
当满足条件1时,在横轴0.361纵轴0.13位置书写数字,画青色
当满足条件1时,在横轴0.361纵轴0.17位置书写数字,画青色
当满足条件1时,在横轴0.361纵轴0.21位置书写数字,画青色

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图