市盈率估值 N:=1;
利润TTM:=FINVALUE(276);
市盈率TTM:=IF(FINVALUE(238)*100*C/利润TTM>=0,FINVALUE(238)*C/利润TTM,0);
C;
平均价:MA(市盈率TTM,250*N)*利润TTM/FINVALUE(238),COLORBLUE;
最高市盈率:=HHV(市盈率TTM,250*N);
最低市盈率:=LLV(市盈率TTM,250*N);
高估价:(最低市盈率+(最高市盈率-最低市盈率)*0.8)*利润TTM/FINVALUE(238),COLORRED;
低估价:(最低市盈率+(最高市盈率-最低市盈率)*0.2)*利润TTM/FINVALUE(238),COLORGREEN;
市净率估值
N:=1;
市净率:=C/FINVALUE(4);
C;
平均价:MA(市净率,250*N)*FINVALUE(4),COLORBLUE;
最高市净率:=HHV(市净率,250*N);
最低市净率:=LLV(市净率,250*N);
高估价:(最低市净率+(最高市净率-最低市净率)*0.8)*FINVALUE(4),COLORRED;
低估价:(最低市净率+(最高市净率-最低市净率)*0.2)*FINVALUE(4),COLORGREEN;
历年财报指标
year0:=2020;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,CODE);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,STKNAME);
A1:=FINANCE(42);
A2:=DATETODAY(CONST(DATE));
A3:=A2-A1;
DRAWRECTREL(51,150,380,910,0);
DRAWRECTREL(381,150,730,910,0);
DRAWRECTREL(729,150,970,910,0);
DRAWTEXT_FIX(1,0.2,0.05,0,'成长性指标'),COLORFF0000;
DRAWTEXT_FIX(1,0,0.15,0,'年份/科目');
DRAWTEXT_FIX(1,0.06,0.15,0,'营业收入(亿元)'),COLORFF0000;
DRAWTEXT_FIX(1,0.15,0.15,0,'营收增长率%'),COLORFF0000;
DRAWTEXT_FIX(1,0.23,0.15,0,'净利润(万元)'),COLORFF0000;
DRAWTEXT_FIX(1,0.30,0.15,0,'净利润增长率%'),COLORFF0000;
{DRAWRECTREL(51,150,380,910,0);}
DRAWTEXT_FIX(1,0,0.92,0,'注:*营收要稳定增长*营业毛利率选择20%以上 *营业利润率高于10%以上 *净资产收益率(ROE)每年都15%以上
*经营现金流量净额要为正数,且越高越好 *长短期负债比低于30%体制较安全'),COLORFF00FF;
DRAWTEXT_FIX(1,0.55,0.05,0,'获利性指标'),COLORFF00FF;
DRAWTEXT_FIX(1,0.41,0.15,0,'营业毛利率%'),COLORFF00FF;
DRAWTEXT_FIX(1,0.49,0.15,0,'净利率%'),COLORFF00FF;
DRAWTEXT_FIX(1,0.56,0.15,0,'营业利润率%'),COLORFF00FF;
DRAWTEXT_FIX(1,0.65,0.15,0,'净资产收益率%'),COLORFF00FF;
{DRAWRECTREL(390,150,740,910,0);}
DRAWTEXT_FIX(1,0.85,0.05,0,'安全性指标'),COLOR408000;
DRAWTEXT_FIX(1,0.75,0.15,0,'经营性现金流量净额(亿元)'),COLOR408000;
DRAWTEXT_FIX(1,0.90,0.15,0,'长短期负债比%'),COLOR408000;
{DRAWRECTREL(729,150,980,910,0);}
YEAR5:=YEAR0-5;
DRAWNUMBER_FIX(1,0,0.25,0,YEAR5);
DRAWTEXT_FIX(1,0.06,0.25,0,CON2STR(FINONE(74,YEAR5,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.25,0,ROUND2(FINONE(183,YEAR5,1231),2));
DRAWTEXT_FIX(1,0.23,0.25,0,CON2STR(FINONE(95,YEAR5,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.30,0.25,0,ROUND2(FINONE(184,YEAR5,1231),2));
DRAWNUMBER_FIX(1,0.41,0.25,0,ROUND2(FINONE(202,YEAR5,1231),2));
DRAWNUMBER_FIX(1,0.49,0.25,0,ROUND2(FINONE(199,YEAR5,1231),2));
DRAWNUMBER_FIX(1,0.56,0.25,0,ROUND2(FINONE(194,YEAR5,1231),2));
DRAWNUMBER_FIX(1,0.65,0.25,0,ROUND2(FINONE(197,YEAR5,1231),2));
DRAWTEXT_FIX(1,0.75,0.25,0,CON2STR(FINONE(107,YEAR5,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.90,0.25,0,ROUND2(FINONE(62,YEAR5,1231)/FINONE(54,YEAR5,1231)*100,2));
YEAR4:=YEAR0-4;
DRAWNUMBER_FIX(1,0,0.35,0,YEAR4);
DRAWTEXT_FIX(1,0.06,0.35,0,CON2STR(FINONE(74,YEAR4,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.35,0,ROUND2(FINONE(183,YEAR4,1231),2));
DRAWTEXT_FIX(1,0.23,0.35,0,CON2STR(FINONE(95,YEAR4,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.30,0.35,0,ROUND2(FINONE(184,YEAR4,1231),2));
DRAWNUMBER_FIX(1,0.41,0.35,0,ROUND2(FINONE(202,YEAR4,1231),2));
DRAWNUMBER_FIX(1,0.49,0.35,0,ROUND2(FINONE(199,YEAR4,1231),2));
DRAWNUMBER_FIX(1,0.56,0.35,0,ROUND2(FINONE(194,YEAR4,1231),2));
DRAWNUMBER_FIX(1,0.65,0.35,0,ROUND2(FINONE(197,YEAR4,1231),2));
DRAWTEXT_FIX(1,0.75,0.35,0,CON2STR(FINONE(107,YEAR4,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.90,0.35,0,ROUND2(FINONE(62,YEAR4,1231)/FINONE(54,YEAR4,1231)*100,2));
YEAR3:=YEAR0-3;
DRAWNUMBER_FIX(1,0,0.45,0,YEAR3);
DRAWTEXT_FIX(1,0.06,0.45,0,CON2STR(FINONE(74,YEAR3,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.45,0,ROUND2(FINONE(183,YEAR3,1231),2));
DRAWTEXT_FIX(1,0.23,0.45,0,CON2STR(FINONE(95,YEAR3,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.30,0.45,0,ROUND2(FINONE(184,YEAR3,1231),2));
DRAWNUMBER_FIX(1,0.41,0.45,0,ROUND2(FINONE(202,YEAR3,1231),2));
DRAWNUMBER_FIX(1,0.49,0.45,0,ROUND2(FINONE(199,YEAR3,1231),2)),;
DRAWNUMBER_FIX(1,0.56,0.45,0,ROUND2(FINONE(194,YEAR3,1231),2));
DRAWNUMBER_FIX(1,0.65,0.45,0,ROUND2(FINONE(197,YEAR3,1231),2));
DRAWTEXT_FIX(1,0.75,0.45,0,CON2STR(FINONE(107,YEAR3,1231)/10000,0));
DRAWNUMBER_FIX(1,0.90,0.45,0,ROUND2(FINONE(62,YEAR3,1231)/FINONE(54,YEAR3,1231)*100,2));
YEAR2:=YEAR0-2;
DRAWNUMBER_FIX(1,0,0.55,0,YEAR2);
DRAWTEXT_FIX(1,0.06,0.55,0,CON2STR(FINONE(74,YEAR2,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.55,0,ROUND2(FINONE(183,YEAR2,1231),2));
DRAWTEXT_FIX(1,0.23,0.55,0,CON2STR(FINONE(95,YEAR2,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.30,0.55,0,ROUND2(FINONE(184,YEAR2,1231),2));
DRAWNUMBER_FIX(1,0.41,0.55,0,ROUND2(FINONE(202,YEAR2,1231),2));
DRAWNUMBER_FIX(1,0.49,0.55,0,ROUND2(FINONE(199,YEAR2,1231),2));
DRAWNUMBER_FIX(1,0.56,0.55,0,ROUND2(FINONE(194,YEAR2,1231),2));
DRAWNUMBER_FIX(1,0.65,0.55,0,ROUND2(FINONE(197,YEAR2,1231),2));
DRAWTEXT_FIX(1,0.75,0.55,0,CON2STR(FINONE(107,YEAR2,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.90,0.55,0,ROUND2(FINONE(62,YEAR2,1231)/FINONE(54,YEAR2,1231)*100,2));
YEAR1:=YEAR0-1;
DRAWNUMBER_FIX(1,0,0.65,0,YEAR1);
DRAWTEXT_FIX(1,0.06,0.65,0,CON2STR(FINONE(74,YEAR1,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.65,0,ROUND2(FINONE(183,YEAR1,1231),2));
DRAWTEXT_FIX(1,0.23,0.65,0,CON2STR(FINONE(95,YEAR1,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.30,0.65,0,ROUND2(FINONE(184,YEAR1,1231),2));
DRAWNUMBER_FIX(1,0.41,0.65,0,ROUND2(FINONE(202,YEAR1,1231),2));
DRAWNUMBER_FIX(1,0.49,0.65,0,ROUND2(FINONE(199,YEAR1,1231),2));
DRAWNUMBER_FIX(1,0.56,0.65,0,ROUND2(FINONE(194,YEAR1,1231),2));
DRAWNUMBER_FIX(1,0.65,0.65,0,ROUND2(FINONE(197,YEAR1,1231),2));
DRAWTEXT_FIX(1,0.75,0.65,0,CON2STR(FINONE(107,YEAR1,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.90,0.65,0,ROUND2(FINONE(62,YEAR1,1231)/FINONE(54,YEAR1,1231)*100,2));
DRAWNUMBER_FIX(1,0,0.75,0,YEAR0);
DRAWTEXT_FIX(1,0.06,0.75,0,CON2STR(FINONE(74,YEAR0,1231)/100000000,3));
DRAWNUMBER_FIX(1,0.15,0.75,0,ROUND2(FINONE(183,YEAR0,1231),2));
DRAWTEXT_FIX(1,0.23,0.75,0,C |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!