PC:=7/16*MA(C,5)+5/16*MA(C,10)+3/16*MA(C,20)+1/16*MA(C,60);
D:=IF((H>PC AND L>=PC) OR (L<PC AND H<=PC),MAX((H/PC-1)*100,(PC/L-1)*100),((H/PC-1)+(PC/L-1))/2*100);
PD:=MA(D,M);
PCR:REF(PC,1),DOTLINE,COLORGRAY;
UW1:REF(PC*(1+PD/100),1),COLORBLUE;
LW1:REF(PC*(1-PD/100),1),COLORRED;
UW2:REF(PC*(1+1.5*PD/100),1),COLORCYAN;
LW2:REF(PC*(1-1.5*PD/100),1),COLORYELLOW;