TJ1:=IF(H=HHV(H,3),10,0);
TJ2:=COUNT(C>REF(C,1),9)*5;
TJ3:=IF(H=HHV(H,5),15,0);
TJ4:=IF(H=HHV(H,10),20,0);
TJ5:=IF(C>REF(C,1),10,0);
DF:=TJ1+TJ2+TJ3+TJ4+TJ5;
DRAWTEXT(ISLASTBAR AND DF<50,H*1.05,STRCAT(CON2STR(DF,0),'分'));
DRAWTEXT(ISLASTBAR AND DF>=50,L*0.97,STRCAT(CON2STR(DF,0),'分'));