外盘:=SUM(BUYVOL,0),COLORRED;

内盘:=SUM(SELLVOL,0),COLORGREEN;

主动率:=((外盘-内盘)/(内盘+外盘))*100;

XXX:=外盘>内盘;

DRAWNUMBER_FIX(ISLASTBAR,0.3,0.2,0, XXX);