ma(c,5); ma(c,10); ma(c,20); ma(c,30); {顯示基本信息} DRAWTEXT_FIX(ISLASTBAR,0.8,0.05,1,STRCAT(STRCAT(HYBLOCK,' '), STRCAT(STRCAT(DYBLOCK,' '),GNBLOCK))),COLORGREEN; 總市值:FINANCE(41)/100000000,NODRAW; 流通市值:FINANCE(40)/100000000,NODRAW; 獲利盤比例:WINNER(C),NODRAW; {左側(cè)} {利潤(rùn)同比:=STRCAT('利潤(rùn)同比:',CON2STR(FINANCE(43),2)); 收入同比:=STRCAT('收入同比:',CON2STR(FINANCE(44),2)); 主營(yíng)利潤(rùn)率:=STRCAT('主營(yíng)利潤(rùn)率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2)); 所屬地域:=STRCAT('所屬地域:',DYBLOCK); 所屬行業(yè):=STRCAT('所屬行業(yè):',HYBLOCK); 所屬概念:=STRCAT('所屬概念:',GNBLOCK);} 所屬風(fēng)格:=STRCAT('所屬風(fēng)格:',FGBLOCK); 主營(yíng)業(yè)務(wù):=STRCAT('主營(yíng)業(yè)務(wù):',EXTERNSTR(0,2)); {DRAWTEXT_FIX(1,0.00,0.01,0,利潤(rùn)同比),COLORWHITE; DRAWTEXT_FIX(1,0.11,0.01,0,收入同比),COLORMAGENTA; DRAWTEXT_FIX(1,0.22,0.01,0,主營(yíng)利潤(rùn)率),COLOR0080FF; DRAWTEXT_FIX(1,0.00,0.05,0,所屬地域),COLORYELLOW; DRAWTEXT_FIX(1,0.00,0.09,0,所屬行業(yè)),COLORYELLOW; DRAWTEXT_FIX(1,0.00,0.13,0,所屬概念),COLORYELLOW;} DRAWTEXT_FIX(1,0.00,0.01,0,所屬風(fēng)格),COLORCYAN; DRAWTEXT_FIX(1,0.00,0.06,0,主營(yíng)業(yè)務(wù)),COLORGREEN; {風(fēng)險(xiǎn)系數(shù)} 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;{缺長(zhǎng)期負(fù)債或負(fù)債總額} X5:=FINANCE(20)/FINANCE(15)*0.999; Z值:=X1+X2+X3+X4+X5; DRAWTEXT_FIX(1,0.85,0.01,1,'財(cái)務(wù)預(yù)警:'),COLORRED; DRAWTEXT_FIX(Z值<1.2,0.838,0.11,1,' ●重 警●'),COLORLIRED; DRAWTEXT_FIX( BETWEEN(Z值,1.2,2.6),0.838,0.11,1,' ○輕 警○'),COLOR0099FF; DRAWTEXT_FIX(Z值>2.6,0.838,0.11,1,' ◎無(wú) 警◎'),COLORLIGREEN; {財(cái)務(wù)信息} 市盈率1:=DYNAINFO(39); {凈資收益率:=(FINANCE(33)/FINANCE(34)*100);} 營(yíng)業(yè)收入:=FINANCE(20)/10000; 銷售毛利率:=((FINANCE(20)-FINANCE(21))/FINANCE(20)*100); 凈利潤(rùn):=FINANCE(30)/10000; 凈利潤(rùn)比率:=(FINANCE(30)/FINANCE(20)*100); 主營(yíng)利潤(rùn)率1:=(FINANCE(23)/FINANCE(20)*100); 優(yōu)質(zhì)資產(chǎn)率:=((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19));{理論上越大越好但不同行業(yè)有不同標(biāo)準(zhǔn)}; 現(xiàn)金負(fù)債比:=(FINANCE(25)/FINANCE(15));{缺長(zhǎng)期負(fù)債或負(fù)債總額,理論上越大越好但不同行業(yè)有不同標(biāo)準(zhǔn)}; 凈利同增率:=FINANCE(43); DRAWTEXT_FIX(1,0.42,0.10,1,'市盈率:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.15,1,'收入 萬(wàn)元:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.20,1,'銷售毛利率:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.25,1,'凈利 萬(wàn)元:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.30,1,'凈利潤(rùn)率 :'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.35,1,'主營(yíng)利潤(rùn)率:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.40,1,'優(yōu)質(zhì)資產(chǎn)率:'),COLORYELLOW; DRAWTEXT_FIX(1,0.42,0.45,1,'現(xiàn)金負(fù)債比:'),COLORYELLOW; {DRAWTEXT_FIX(1,0.42,0.75,1,'凈利同增率:'),COLORYELLOW;} DRAWNUMBER_FIX(1,0.47,0.10,1,市盈率1),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.15,1,營(yíng)業(yè)收入),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.20,1,銷售毛利率),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.25,1,凈利潤(rùn)),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.30,1,凈利潤(rùn)比率),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.35,1,主營(yíng)利潤(rùn)率1),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.40,1,優(yōu)質(zhì)資產(chǎn)率),COLORWHITE; DRAWNUMBER_FIX(1,0.47,0.45,1,現(xiàn)金負(fù)債比),COLORWHITE; {DRAWNUMBER_FIX(1,0.47,0.75,1,凈利同增率),COLORWHITE;} {DRAWTEXT_FIX(1,0.498,0.01,1,'財(cái)務(wù)指標(biāo):'),COLORRED;} 市凈率:=CONST(DYNAINFO(7) / FINANCE(34)); {市銷率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));} 營(yíng)收同比增:=FINANCE(44); 每股凈資產(chǎn):=FINANCE(34); 每股收益季:=CONST(FINANCE(33)/(5-FINANCE(37))); {每股收益年:=CONST(FINANCE(33));} 每股現(xiàn)金流:=CONST((FINANCE(25)/FINANCE(1))); 每股未分配:=CONST(FINANCE(32)); 每股公積金:=CONST(FINANCE(18)); DRAWTEXT_FIX(1,0.54,0.10,1,'市凈率 :'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.15,1,'收入同比增 :'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.20,1,'每股凈資產(chǎn):'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.25,1,'凈利同比增:'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.30,1,'每股收益季:'),COLORYELLOW; {DRAWTEXT_FIX(1,0.54,0.45,1,'每股收益年:'),COLORYELLOW;} DRAWTEXT_FIX(1,0.54,0.35,1,'每股現(xiàn)金流:'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.40,1,'每股未分配:'),COLORYELLOW; DRAWTEXT_FIX(1,0.54,0.45,1,'每股公積金:'),COLORYELLOW; DRAWNUMBER_FIX(1,0.57,0.10,1,市凈率),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.15,1,營(yíng)收同比增),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.20,1,每股凈資產(chǎn)),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.25,1,凈利同增率),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.30,1,每股收益季),COLORWHITE; {DRAWNUMBER_FIX(1,0.57,0.45,1,每股收益年),COLORWHITE;} DRAWNUMBER_FIX(1,0.57,0.35,1,每股現(xiàn)金流),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.40,1,每股未分配),COLORWHITE; DRAWNUMBER_FIX(1,0.57,0.45,1,每股公積金),COLORWHITE; {DRAWTEXT_FIX(ISLASTBAR,0.8,0.05,1,STRCAT(STRCAT('流通盤: ',CON2STR(流通市值,2)),'億 總市值:'), STRCAT(STRCAT(DYBLOCK,' '),GNBLOCK))),COLORGREEN;}; |
|