最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信财务风险提示主图指标 源码分享

    正文概述    2024-04-13 13:29:44  

    {股票信息源码}
    {左下角公式}
    DRAWTEXT_FIX(1,0,0.25,0,'所属板块:'),COLORYELLOW;
    DRAWTEXT_FIX(1,0.06,0.25,0,HYBLOCK),COLORYELLOW;
    DRAWTEXT_FIX(1,0.12,0.25,0,DYBLOCK),COLORYELLOW;
    DRAWTEXT_FIX(1,0.18,0.25,0,GNBLOCK),COLORYELLOW;
    DRAWTEXT_FIX(1,0,0.3,0,'风格:'),COLORGREEN;
    DRAWTEXT_FIX(1,0.04,0.3,0,FGBLOCK),COLORGREEN;
    总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,3)),'亿股');
    流通盘:=STRCAT(STRCAT('流通盘: ',CON2STR(CAPITAL/1000000,3)),'亿股');
    总市值:=STRCAT(STRCAT('总市值: ',CON2STR(FINANCE(1)*C/100000000,3)),'亿元');
    市值:=STRCAT(STRCAT('流通值: ',CON2STR((CAPITAL/1000000)*C,3)),'亿元');
    DRAWTEXT_FIX(ISLASTBAR,0.001,0.9,0,总市值),COLORYELLOW;
    DRAWTEXT_FIX(ISLASTBAR,0.001,0.95,0,市值),COLORYELLOW;

    {财务风险提示1}
    X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
    X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};
    X3:=FINANCE(23)/FINANCE(10)*3.3;
    X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}
    X5:=FINANCE(20)/FINANCE(15)*0.999;
    Z值:=X1+X2+X3+X4+X5;
    预警:=IF(Z值 1.2,'重警',IF(Z值 =1.2 AND Z值 2.6,'轻警','无警'));
    财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));
    优质资产率:=STRCAT('优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19)*100,2));{理论上越大越好但不同行业有不同标准};
    现金负债比:=STRCAT('现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15)*100,3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};
    财务系数:=STRCAT('(风险系数)',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));
    DRAWTEXT_FIX(ISLASTBAR,0.001,0.35,0,财务系数),COLORYELLOW;

    通达信财务风险提示主图指标 源码分享

    通达信财务风险提示主图指标 源码分享

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信财务风险提示主图指标 源码分享 加入收藏