{风险系数}

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;

DRAWTEXT_FIX(Z值<1.2,0.838,0.11,1,'●重警●'),COLORLIRED;

JJ:=Z值<1.2;

DRAWGBK(JJ, RGB(50,60,250),RGB(17,21,89),0,'11',1);

SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));

量能:=(IF(SAT>1,1,SAT)*100);

DRAWTEXT_FIX(1,0.50,0.50,1,STRCAT(STRCAT('量能:',CON2STR(量能,2)),'%')),COLORYELLOW;