{所属行业及板块}
DRAWTEXT_FIX(1,0.00,0,0,’所属行业:’)COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.14,0,0,’所属地区:’)COLOR00FFFF;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.28,0,0,’概念板块:’)COLOR00FFFF;
DRAWTEXT_FIX(1,0.35,0,0,GNBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.06,0,’重要参考:’)COLOR0000FF;
DRAWTEXT_FIX(1,0.07,0.06,0,’每股净资产:’),COLOR0000FF;
DRAWNUMBER_FIX(1,0.14,0.06,0,FINANCE(34));
DRAWTEXT_FIX(1,0.18,0.06,0,’每股未分配利润:’),COLOR0000FF;
DRAWNUMBER_FIX(1,0.28,0.06,0,FINANCE(32));
DRAWTEXT_FIX(1,0.32,0.06,0,’每股公积金:’),COLOR0000FF;
DRAWNUMBER_FIX(1,0.40,0.06,0,FINANCE(18));
DRAWTEXT_FIX(1,0.45,0.06,0,’【说明:每股净资产高于*元,但越高越好!每股未分配利润在*元以上,是比较正常的】’),COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.12,0,’财务分折:’)COLORMAGENTA;
DRAWTEXT_FIX(1,0.07,0.06,0,EXTERNSTR(0,1))COLOR0000FF;
{股本市值}
总股本:=STRCAT(STRCAT(‘总股本: ‘,CON2STR(TOTALCAPITAL/1000000,2)),’亿’);
流通盘:=STRCAT(STRCAT(‘ 流通盘: ‘,CON2STR(CAPITAL/1000000,2)),’亿’);
全流通:=STRCAT(‘ 全流通: ‘,CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
市值:=STRCAT(STRCAT(‘ 流通市值: ‘,CON2STR((CAPITAL/1000000)*C,2)),’亿’);
上市天数:=STRCAT(‘ 上市天数: ‘,CON2STR(FINANCE(42),0));
{上市日期:=STRCAT(‘ 上市日期: ‘,CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));}
股本市值:=STRCAT(‘股本市值: ‘,STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市天数));
{业绩综合}
市盈率:=STRCAT(‘市盈率: ‘,CON2STR(C/FINANCE(33),2));
市销率:=STRCAT(‘ 市销率: ‘,CON2STR(C/(FINANCE(20)/FINANCE(1)),2));
市净率:=STRCAT(‘ 市净率: ‘,CON2STR(C/FINANCE(34),2));
净资收益率:=STRCAT(‘ 净资收益率: ‘,CON2STR(FINANCE(33)/FINANCE(34)*100,2));
毛利率:=STRCAT(‘ 毛利率: ‘,CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
净利润率:=STRCAT(‘ 净利润率 ‘,CON2STR(FINANCE(30)/FINANCE(20)*100,2));
主营利润率:=STRCAT(‘ 主营利润率 ‘,CON2STR(FINANCE(23)/FINANCE(20)*100,2));
当前业绩:=STRCAT(‘当前业绩: ‘,STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));
{风险系数}
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 AND Z值1.50,(INDEC-AA)*100/AA,0);
A:=STRCAT(板块,STRCAT(‘:’,CON2STR(INDEC,2)));
B:=STRCAT(‘指数涨跌:’,CON2STR(指数涨幅,2));
DRAWTEXT_FIX(ISLASTBAR,0,0.36,0,A),COLOR0055FF;
DRAWTEXT_FIX(ISLASTBAR,0.12,0.36,0,B),COLOR0055FF;
CCC:=HY_INDEXC;
OOO:=HY_INDEXO;
LLL:=HY_INDEXL;
HHH:=HY_INDEXH;
DRAWKLINE(HHH,OOO,LLL,CCC);
上涨:=VARCAT(‘上涨:’,VAR2STR(HY_INDEXADV,0));
下跌:=VARCAT(‘下跌:’,VAR2STR(HY_INDEXDEC,0));
DRAWTEXT_FIX(ISLASTBAR,0.22,0.36,0,上涨),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.29,0.36,0,下跌),COLORYELLOW;
A1:=REF(CCC,1);
ZF:=(C-REF(C,1))/REF(C,1)*100;
行业指数:=IF(A1>0,(CCC-A1)*100/A1,0);
DD:=STRCAT(‘行业指数:’,CON2STR(CCC,2));
E:=STRCAT(‘行业涨跌:’,CON2STR(行业指数,2));
DRAWTEXT_FIX(ISLASTBAR,0.44,0.36,0,DD),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.57,0.36,0,E),COLORYELLOW;
{DRAWTEXT_FIX(ISLASTBAR,0.7,0.38,0,HYBLOCK),COLORYELLOW;}{所属行业}
DRAWTEXT_FIX(ISLASTBAR AND 指数涨幅行业指数,0.36,0.36,0,’板弱’),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND ZF>=行业指数,0.40,0.36,0,’股强’),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND ZF
【股票投资】【通达信】最全面的基本面主图指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。
Copyright @ 2020
All Rights Reserved.版权所有 XMl地图