股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」基本面_叠加主图_更新版_自用(源码 贴图 说明)


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-2-16 18:47:57
    【资料名称】:基本面_叠加主图_更新版_自用(源码 贴图 说明)介绍
    【资料描述】:

    基本面_叠加主图_更新版_自用(源码 贴图 说明)

    改动:增加了一些财务东西;
    小数点后改为2位数(4舍5入)

    指标源码:

    {-----------------------------------------------------------------------------------------------------}
    {-------------------------------------------------基本面----------------------------------------------}
    {距形}
    {DRAWRECTREL(0,0,378,348,RGB(36,36,36))NOFRAME;}
    {基本资料}
    品种类型:=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;{行业板块}
    DRAWTEXT_FIX(1,0.050,0.13,0,CON2STR(上市天数,0)),COLORWHITE;{数值}
    DRAWTEXT_FIX(1,0.050,0.17,0,CON2STR(股东人数,0)),COLORWHITE;
    DRAWTEXT_FIX(1,0.050,0.21,0,CON2STR(人均持股,0)),COLORWHITE;
    DRAWTEXT_FIX(1,0.083,0.13,0,'天'),COLORWHITE;{单位}
    DRAWTEXT_FIX(1,0.083,0.17,0,'人'),COLORWHITE;
    DRAWTEXT_FIX(1,0.083,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;
    DRAWTEXT_FIX(1,0.174,0.05,0,STRCAT(VAR2STR(净资收益率,2),' %')),COLORCYAN;
    DRAWTEXT_FIX(1,0.174,0.09,0,STRCAT(VAR2STR(主营利润率,2),' %')),COLORCYAN;
    DRAWTEXT_FIX(1,0.174,0.13,0,CON2STR(现金负债比,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.174,0.17,0,STRCAT(VAR2STR(主营收入同比,0),' %')),COLORCYAN;
    DRAWTEXT_FIX(1,0.174,0.21,0,STRCAT(VAR2STR(净利润同比,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.213,0.01,0,'财务资料(2):'),COLORLIBLUE;
    DRAWTEXT_FIX(1,0.213,0.05,0,'每股收益(近):'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.213,0.09,0,'每股收益年:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.213,0.13,0,'每股净资产:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.213,0.17,0,'每股未分配:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.213,0.21,0,'每股公积金:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.284,0.05,1,CON2STR(每股收益,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.284,0.09,1,CON2STR(每股收益年,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.284,0.13,1,CON2STR(每股净资产,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.284,0.17,1,CON2STR(每股未分配,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.284,0.21,1,CON2STR(每股公积金,2)),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.299,0.01,0,'财务资料(3):'),COLORLIBLUE;
    DRAWTEXT_FIX(1,0.299,0.05,0,'市盈率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.299,0.09,0,'市销率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.299,0.13,0,'市净率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.299,0.17,0,'毛利率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.299,0.21,0,'净利润率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.358,0.05,1,CON2STR(市盈率,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.358,0.09,1,CON2STR(市销率,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.358,0.13,1,CON2STR(市净率,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.358,0.17,1,CON2STR(毛利率,2)),COLORCYAN;
    DRAWTEXT_FIX(1,0.358,0.21,1,CON2STR(净利润率,2)),COLORCYAN;
    {{财务(4)}
    经营现金流量:=FINANCE(25)/10000;
    资产负债率:=FINANCE(9);
    应收帐款:=FINANCE(22)/10000;
    DRAWTEXT_FIX(1,0.375,0.01,0,'财务资料(4):'),COLORLIBLUE;
    DRAWTEXT_FIX(1,0.375,0.05,0,'资产负债率:'),COLORLIGREEN;
    DRAWTEXT_FIX(1,0.460,0.05,1,STRCAT(CON2STR(资产负债率,2),' %')),COLORCYAN;
    DRAWTEXT_FIX(1,0.375,0.09,0,STRCAT('经营现金流量:',STRCAT(VAR2STR(经营现金流量,0),' 万元'))),COLORWHITE;
    DRAWTEXT_FIX(1,0.375,0.13,0,STRCAT('应收帐款:',STRCAT(VAR2STR(应收帐款,0),' 万元'))),COLORWHITE;
    {-----------------------------------------------------------------------------------------------------}
    {-----------------------------------------------------------------------------------------------------};











    gd43136


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」通达信 大智慧《领带调整》副图指标 贴图 加密
    下一篇:「指标」通达信志国自动刬线主图指标
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 15:33

    快速回复 返回顶部 返回列表