%> 大智慧财务数据指标公式_
大智慧财务数据指标公式 3591

{背景颜色}

DRAWGBKLAST(DYNAINFO(3)<DYNAINFO(7){OPEN},STRIP(RGB(50,0,150),RGB(150,0,50),1));

DRAWGBKLAST({CLOSE}DYNAINFO(3)>DYNAINFO(7){OPEN},STRIP(RGB(50,0,150),RGB(150,0,50),1));

{所属板块和基本面}

报告日期:=FINANCE2(1);

所属板块:=BKNAME;

总股本:=FINANCE2(35)/10000;

流通股:=FINANCE2(37)/10000;

限售股:=FINANCE2(35)/10000-FINANCE2(37)/10000;

收益:=FINANCE2(3);

净资产:=FINANCE2(4);

净利润率:=PFFIN(1657,0);

净资产收益率:=FINANCE2(5);

公积金:=FINANCE2(7);

净利润同比:=FINANCE2(10);

主营收同比:=FINANCE2(11);

市净率:=DYNAINFO(58);

市盈率:=DYNAINFO(39);

上市交易日:=BARSCOUNT(C);

毛利润率:=FINANCE2(12);

资产负债率:=PFFIN(1701,0);

DRAWTEXTABS(12,5, '所属板块:'+所属板块),COLORYELLOW;

DRAWTEXTABS(12,20,'总股本:'+NUMTOSTRN(总股本,2)+'亿'),COLORYELLOW;

DRAWTEXTABS(12,35,'流通股:'+NUMTOSTRN(流通股,2)+'亿'),COLORBF3EFF;

DRAWTEXTABS(12,50,'限售股:'+NUMTOSTRN(限售股,2)+'亿'),COLORYELLOW;

DRAWTEXTABS(12,65,'上市交易日:'+上市交易日),COLORYELLOW;

DRAWTEXTABS(8,95,'【财务报告日期】:'+NUMTOSTRN(报告日期,0)+'日'),COLORBF3EFF;

DRAWTEXTABS(150,20,'收益:'+NUMTOSTRN(收益,2)+'元'),COLORYELLOW;

DRAWTEXTABS(150,35,'公积金:'+NUMTOSTRN(公积金,2)+'元'),LINETHICK1,COLORYELLOW;

DRAWTEXTABS(150,50,'市盈率:'+NUMTOSTRN(市盈率,0)+'倍'),LINETHICK2,COLORBF3EFF;

DRAWTEXTABS(150,65,'市净率:'+NUMTOSTRN(市净率,0)+'倍'),LINETHICK2,COLORBF3EFF;

DRAWTEXTABS(277,20,'历史最高:'+HHV(HIGH,0)),COLORYELLOW;

DRAWTEXTABS(477,20,'历史最低:'+LLV(LOW,0)),COLORYELLOW;

DRAWTEXTABS(12,127,'净利润率:'+NUMTOSTRN(净利润率,2)+'%'),LINETHICK3,COLORYELLOW;

DRAWTEXTABS(12,157,'净利润同比:'+NUMTOSTRN(净利润同比,2)+'%'),LINETHICK3,COLORYELLOW;

DRAWTEXTABS(12,187,'主营收同比:'+NUMTOSTRN(主营收同比,2)+'%'),LINETHICK3,COLORYELLOW;

DRAWTEXTABS(12,217,'销售毛利率:'+NUMTOSTRN(毛利润率,2)+'%'),LINETHICK3,COLORYELLOW;

DRAWTEXTABS(227,157,'资产负债率:'+NUMTOSTRN(资产负债率,2)+'%'),LINETHICK3,COLOR00FF00;

DRAWTEXTABS(227,127,'净资产收益率:'+NUMTOSTRN(净资产收益率,2)+'%'),LINETHICK3,COLORYELLOW;

{三年复合净利润}

年末净利润:=PFFIN(1272,3);

三年前净利润:=PFFIN(1272,15);

三年复合增长率:(POW(年末净利润/三年前净利润,1/3)-1)*100,LINETHICK2,COLORred;

DRAWTEXTABS(227,187,'三年复合增长率:'+NUMTOSTRN(三年复合增长率,2)+'%'),LINETHICK3,COLORBF3EFF;

{年报季报,N需要随着年度更改}

N:=2017;

年报:= PFFININ(1001,N-1,1231 );

去年增长率:= PFFININ(1604,N-1,1231 );

去年收益率:=PFFININ(1002 ,N-1 ,1231 );

一季收益率:= PFFININ(1002,N,0331 );

二季收益率:= PFFININ(1002,N,0630 );

三季收益率:= PFFININ(1002,N,0930 );

四季收益率:= PFFININ(1002,N,1231 );

一季增长率:= PFFININ(1604,N,0331 );

二季增长率:= PFFININ(1604,N,0630 );

三季增长率:= PFFININ(1604,N,0930 );

四季增长率:= PFFININ(1604,N,1231 );

DRAWTEXTREL(677,120,'2017净利润同比:'+去年增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,120,'2017净资产收益:'+去年收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,180,'一季净利润同比:'+一季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,240,'二季净利润同比:'+二季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,300,'三季净利润同比:'+三季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,360,'四季净利润同比:'+四季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,180,'一季收益率:'+一季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,240,'二季收益率:'+二季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,300,'三季收益率:'+三季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,360,'四季收益率:'+四季收益率),LINETHICK1,Coloryellow;

{年报季报,N需要随着年度更改}

N:=2018;

年报:= PFFININ(1001,N-1,1231 );

去年增长率:= PFFININ(1604,N-1,1231 );

去年收益率:=PFFININ(1002 ,N-1 ,1231 );

一季收益率:= PFFININ(1002,N,0331 );

二季收益率:= PFFININ(1002,N,0630 );

三季收益率:= PFFININ(1002,N,0930 );

四季收益率:= PFFININ(1002,N,1231 );

一季增长率:= PFFININ(1604,N,0331 );

二季增长率:= PFFININ(1604,N,0630 );

三季增长率:= PFFININ(1604,N,0930 );

四季增长率:= PFFININ(1604,N,1231 );

DRAWTEXTREL(677,500,'2018净利润同比:'+去年增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,500,'2018净资产收益:'+去年收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,560,'一季净利润同比:'+一季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,620,'二季净利润同比:'+二季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,680,'三季净利润同比:'+三季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(677,740,'四季净利润同比:'+四季增长率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,560,'一季收益率:'+一季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,620,'二季收益率:'+二季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,680,'三季收益率:'+三季收益率),LINETHICK1,Coloryellow;

DRAWTEXTREL(850,740,'四季收益率:'+四季收益率),LINETHICK1,Coloryellow;

{获利盘与套牢盘}

F:=COST(5 );J:=COST(95 );

M:=COST(15 );N:=COST(85 );

F1:=(J-F)/(F+J)*100;M1:=(N-M)/(N+M)*100;

莸利比例:=WINNER(c )*100;

净资产:=FINANCE2(4);

获利盘:=WINNER(CLOSE)*100;

套牢盘:=100*(1-WINNER(C));

成本集中度90﹪:=F1;

成本集中度70﹪:=M1;

浮筹比例:=(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100;

DRAWTEXTABS(277,50,'获利盘: '+NUMTOSTRN(获利盘,2)+'%'),LINETHICK2,COLORBF3EFF;

DRAWTEXTABS(477,50,'套牢盘: '+NUMTOSTRN(套牢盘,2)+'%'),LINETHICK0,Color00FF00;

{主力成本与压力}

n1:=barslast(cross(c,MA(c,60)));

n2:=barslast(cross(MA(c,60),c));

建仓成本:=MAXCYC;

压力位:=DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE2(37)))*1.12;

强股排序:=if(n1<n2,n1+1,0);

DRAWTEXTABS(277,35,'庄家成本:'+NUMTOSTRN(建仓成本,2)+'元'),LINETHICK2,COLORBF3EFF;

DRAWTEXTABS(12,80,'上穿60均线:'+NUMTOSTRN(强股排序,0)+'天'),COLORYELLOW;

DRAWTEXTABS(477,35,'心理压力:'+NUMTOSTRN(压力位,2)+'元'),Color00FF00;

日换手率:=(VOL*100/CAPITAL);;

5日换手率:=SUM(日换手率,5);;

DRAWTEXTABS(477,65,'换手率:'+NUMTOSTRN(日换手率,2)+'%'),COLORYELLOW;

DRAWTEXTABS(277,65,'5日换手:'+NUMTOSTRN(5日换手率,2)+'%'),LINETHICK2,COLORBF3EFF;

{该股代码和名称当日股价和当日涨幅}

DRAWTEXTREL(277,850,STKLABEL+' '+STKNAME+' '+DYNAINFO(7)+'元'+' '+DYNAINFO(14)*100+'%'),LINETHICK4,COLORFFFF00;



 

{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}