市盈率:CLOSE/FINANCE(33),NODRAW;
市净率:CLOSE/FINANCE(34),NODRAW;
ZSZ:=CLOSE*FINANCE(1);
QQ1:=IF(FINANCE(37)=1 AND FINANCE(20)>0 ,ZSZ/FINANCE(20)*4,0);
QQ2:=IF(FINANCE(37)=2 AND FINANCE(20)>0 ,ZSZ/FINANCE(20)*2,0);
QQ3:=IF(FINANCE(37)=3 AND FINANCE(20)>0,3*ZSZ/(FINANCE(20)*4),0);
QQ4:=IF(FINANCE(37)=4 AND FINANCE(20)>0,ZSZ/FINANCE(20),0);
市销率:(QQ1+QQ2+QQ3+QQ4),NODRAW;
PE:=DYNAINFO(39);
EPSRATE:=FINANCE(43);
PEG:IF(PE>0 && PE<150 && EPSRATE>0,PE/EPSRATE,DRAWNULL),NODRAW;
存货:FINANCE(27)/100000000,NODRAW;
利润率:100*FINANCE(30)/FINANCE(20),NODRAW;
人均市值:CLOSE*FINANCE(7)/FINANCE(8),NODRAW;
流通比:100*(FINANCE(5)+FINANCE(6)+FINANCE(7))/FINANCE(1),DOTLINE;
DRAWTEXT(流通比>REF(流通比,1),80,'解禁');
DRAWTEXT(FINANCE(1)>1.0001*REF(FINANCE(1),1),75,'增发'),COLORRED;
年收益:FINANCE(33);
负债率:FINANCE(9);
未分配:FINANCE(31)/FINANCE(1);
{积余:FINANCE(31)/FINANCE(19);}
业务同比:FINANCE(44),NODRAW;
利润同比:FINANCE(43),NODRAW;
合理股价:3*(未分配+年收益);
DRAWTEXT_FIX(ISLASTBAR,0.3,0.1,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.3,0.2,0,GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.3,0.3,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.3,0.4,0,FGBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.5,0,ZSBLOCK);