A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);
A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));
A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));
A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));
机构买盘A2),LINETHICK5,COLORFF55FF;
机构卖盘A3),LINETHICK2,COLORFFFF55;
散户买盘A4),COLOR5555FF;
散户卖盘A5),COLOR55FF55;
DRAWTEXT(1003,870,'机构买盘'),LINETHICK2,COLORFF55FF;
DRAWTEXT(1003,570,'机构卖盘'),LINETHICK2,COLORFFFF55;
DRAWTEXT(1003,320,'散户买盘'),LINETHICK2,COLOR5555FF;
DRAWTEXT(1003,50,'散户卖盘'),LINETHICK2,COLOR55FF55;
|