通达信方便直观的财务副图指标公式源码加密

[复制链接]
查看359 | 回复0 | 2021-8-28 00:58:17 | 显示全部楼层 |阅读模式

以下是通达信方便直观的财务副图指标公式源码加密(无源码的请下载附件导入)

今天分享一个比较直观看财务分析的副图,直接导入即可使用
{所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [地域]—',DYBLOCK)),STRCAT(' [概念]—',GNBLOCK)));}
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
主营业增长率:=FINANCE(44);
每股净资产:=CONST(FINANCE(34));
每股收益:=CONST(FINANCE(38));
净利润增长率:=FINANCE(43);
市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
现金负债比:=(FINANCE(25)/FINANCE(15));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
SY01:=净资收益率>3;
SY02:=净资收益率>0.01 AND 净资收益率<=3;
SY03:=主营利润率>2;
SY04:=主营利润率>0;
SY05:=主营业增长率>1;
SY06:=主营业增长率>0;
SY07:=净利润增长率>2;
SY08:=净利润增长率>0.2;
SY09:=每股收益>0.01;
SY10:= 每股收益>0.001;
SY11:=每股净资产>2;
SY12:=每股净资产>0.01;
SY13:=每股未分配>0.5;
SY14:=每股未分配>0.001;
SY15:=每股公积金>0.5;
SY16:=每股公积金>0.002;
SY17:=每股未分配>=2 AND 每股公积金>=2;
SY18:=每股未分配<2 OR 每股公积金<2;
优秀:=SY01 AND SY03 AND SY05 AND SY07 AND SY09 AND SY11
AND SY13 AND SY15;
较好:=SY02 AND SY04 AND SY06 AND SY08 AND SY10 AND SY12
AND SY14 AND SY16;
一般:=NOT(优秀) AND NOT(较好);
DRAWRECTREL(0,0,998,600,RGB(0,0,10));
DRAWRECTREL(107,0,917,600,RGB(0,0,10));
DRAWRECTREL(188,0,917,600,RGB(0,0,10));
DRAWRECTREL(269,0,836,600,RGB(0,0,10));
DRAWRECTREL(350,0,755,600,RGB(0,0,10));
DRAWRECTREL(512,0,593,600,RGB(0,0,10));
DRAWRECTREL(0,200,998,200,RGB(255,255,0));
DRAWRECTREL(0,400,998,400,RGB(255,255,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.03,0,'评估名称'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.27,0,' 基本数值'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.46,0,' 评估项目'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.125,0.03,0,'净资收益率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.125,0.27,0,CONST((FINANCE(33)/FINANCE(34)*100))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.125,0.46,0,'盈利能力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.207,0.03,0,'主营利润率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.207,0.27,0,CONST((FINANCE(23)/FINANCE(20)*100))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.207,0.46,0,'盈利能力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.277,0.03,0,'主营业增长率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.287,0.27,0,CONST(FINANCE(44))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.287,0.46,0,'成长能力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.367,0.03,0,'每股净资产'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.367,0.27,0,CONST(FINANCE(34))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.367,0.46,0,'每股指标'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.03,0,'每股收益'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.45,0.27,0,CONST(FINANCE(38))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.46,0,'每股指标'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.52,0.03,0,'净利润增长率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.53,0.27,0,CONST(FINANCE(43))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.53,0.46,0,'成长能力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.6135,0.03,0,'市盈率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.6135,0.27,0,CONST(DYNAINFO(39))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.6135,0.46,0,'行业估值'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.695,0.03,0,'市销率'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.695,0.27,0,CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.695,0.46,0,'行业估值'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.775,0.03,0,'现金负债比'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.775,0.27,0,CONST(FINANCE(25)/FINANCE(15))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.775,0.46,0,'偿债能力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.855,0.03,0,'每股未分配'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.855,0.27,0,CONST(FINANCE(32))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.855,0.46,0,'高送转潜力'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.937,0.03,0,'每股公积金'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.937,0.27,0,CONST(FINANCE(18))),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.937,0.46,0,'高送转潜力'),COLORWHITE;
{DRAWTEXT_FIX(ISLASTBAR,0.125,0.65,0,所属板块),COLORWHITE;}
DRAWTEXT_FIX(优秀 AND 较好=0,0.125,0.85,0,'综合评估基本面:优秀!'),COLORMAGENTA;
DRAWTEXT_FIX(较好,0.125,0.85,0,'综合评估基本面:较好!'),COLORRED;
DRAWTEXT_FIX(一般,0.125,0.85,0,'综合评估基本面:一般!'),COLORGREEN;
DRAWTEXT_FIX(SY17,0.280,0.85,0,'是否具备高送转潜力:是!'),COLORRED;
DRAWTEXT_FIX(SY18,0.280,0.85,0,'是否具备高送转潜力:否!'),COLORGREEN;
{DRAWTEXT_FIX(ISLASTBAR,0.03,0.65,0,CODE),COLORFF80FF;
DRAWTEXT_FIX(ISLASTBAR,0.03,0.85,0,STKNAME),COLORFF80FF;};
 

1038288989.jpg

1038288989.jpg

1038377365.jpg

1038377365.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则