实量:=SUM(VOL,FROMOPEN);
虚拟量:=实量/240*FROMOPEN;
SZB:=实量/10000;
XZB:=虚拟量/10000>0;
{DRAWRECTREL(500,CONST(100-XZB)*1000/100,530,1000,RGB(0,0,0));
DRAWRECTREL(500,CONST(100-SZB)*1000/100,530,1000,90);}
大单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
大单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
ZB1:=大单买/实量*100;
ZB2:=大单卖/实量*100<10 ;
{DRAWRECTREL(530,CONST(100-ZB1)*1000/100,560,1000,90);
DRAWRECTREL(560,CONST(100-ZB2)*1000/100,590,1000,RGB(0,255,0));
DRAWTEXT_FIX(1,0.500,0.20,0,STRCAT(STRCAT('【LARGE ORDERS BUY】',CON2STR(ZB1,2)),'%')),COLORYELLOW;}
DRAWTEXT_FIX(1,0.48,0.40,0,STRCAT(STRCAT('',CON2STR(ZB2,0)),'')),COLORGREEN;
{DRAWGBK((ZB2), RGB(255,126,0),RGB(255,126,0),0,'11',0);};