量价:=(VOL/CLOSE)/3;
B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
B6:=B2+B3;DD1:=1;比:=B2/B3;
BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');
BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');
BBB3:=STRCAT(STRCAT('B ',CON2STR((100*(B2-B3))/B6,0)),'.00');
{DRAWTEXT_FIX(DD1=1,0,0.50,0,BBB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0,0.60,0,BBB2),COLORGREEN;}
DRAWTEXT_FIX(DD1=1,0,0.20,0,BBB3),COLOR00FFFF;