获利比例:=WINNER(C)*100;

平均成本:COST(50),COLORRED,LINETHICK5;

C95:=COST(95);

C5:=COST(5);

C85:=COST(85);

C15:=COST(15);

成本集中90:(C95-C5)/CONST(HHV(H,0))*100 ;

成本集中70:=(C85-C15)/CONST(HHV(H,0))*100;

A1:=STRCAT('获利比例',': ');

A2:=STRCAT(CON2STR(获利比例,1),'%');

AA:=STRCAT(A1,A2);

B1:=STRCAT('平均成本',': ');

BB:=STRCAT(B1,CON2STR(平均成本,2));

C1:=STRCAT('90%成本',CON2STR(C5,2));

C2:=STRCAT('-',CON2STR(C95,2));

C3:=STRCAT('集中',CON2STR(成本集中90,1));

CC:=STRCAT(STRCAT(STRCAT(C1,C2),C3),'%');

D1:=STRCAT('70%成本',CON2STR(C15,2));

D2:=STRCAT('-',CON2STR(C85,2));

D3:=STRCAT('集中',CON2STR(成本集中70,1));

DD:=STRCAT(STRCAT(STRCAT(D1,D2),D3),'%');

{DRAWTEXT_FIX(ISLASTBAR,0.88,0,0,AA);}

DRAWTEXT_FIX(ISLASTBAR,0.50,0.60,0,BB),COLORRED;

{DRAWTEXT_FIX(ISLASTBAR,0.88,0.16,0,CC);

DRAWTEXT_FIX(ISLASTBAR,0.88,0.24,0,DD);};

DRAWICON(CROSS(成本集中90,平均成本) AND L,L*0.98,23);