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

今天分享一个比较直观看财务分析的副图,直接导入即可使用
{所属板块:=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;};
 




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

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

今天分享一个比较直观看财务分析的副图,直接导入即可使用 {所属板块赋值: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)*现价/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))
当满足条件 到最后交易的周期=1时,在横轴0.02纵轴0.03位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.02纵轴0.27位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.02纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.125纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.125,0.27,0,CONST((FINANCE(33)/FINANCE(34)*100))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.125纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.207纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.207,0.27,0,CONST((FINANCE(23)/FINANCE(20)*100))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.207纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.277纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.287,0.27,0,CONST(FINANCE(44))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.287纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.367纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.367,0.27,0,CONST(FINANCE(34))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.367纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.45纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.45,0.27,0,CONST(FINANCE(38))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.45纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.52纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.53,0.27,0,CONST(FINANCE(43))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.53纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.6135纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.6135,0.27,0,CONST(DYNAINFO(39))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.6135纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.695纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.695,0.27,0,CONST(FINANCE(1)*现价/FINANCE(20))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.695纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.775纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.775,0.27,0,CONST(FINANCE(25)/FINANCE(15))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.775纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.855纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.855,0.27,0,CONST(FINANCE(32))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.855纵轴0.46位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.937纵轴0.03位置书写文字
DRAWNUMBER_FIX(1,0.937,0.27,0,CONST(FINANCE(18))),画黄色
当满足条件 到最后交易的周期=1时,在横轴0.937纵轴0.46位置书写文字
当满足条件ISLASTBAR时,在横轴0.125纵轴0.65位置书写文字
当满足条件优秀 AND 较好=0时,在横轴0.125纵轴0.85位置书写文字
当满足条件较好时,在横轴0.125纵轴0.85位置书写文字
当满足条件一般时,在横轴0.125纵轴0.85位置书写文字
当满足条件SY17时,在横轴0.280纵轴0.85位置书写文字
当满足条件SY18时,在横轴0.280纵轴0.85位置书写文字
当满足条件ISLASTBAR时,在横轴0.03纵轴0.65位置书写文字
当满足条件ISLASTBAR时,在横轴0.03纵轴0.85位置书写文字
}
 


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

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