量:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:=买量+卖量,LINETHICK0;
净量:=买量-卖量,LINETHICK0;
五日净量:SUM(净量,5),LINETHICK2,COLORFFFFFF;
十日净量:SUM(净量,10),LINETHICK2,COLORGREEN;
六十日净量:SUM(净量,60),LINETHICK2,COLORLIBLUE;
0;
-1000000,COLORFFFFFF;
DRAWICON(crOSS(五日净量,六十日净量),五日净量,1);
DRAWICON(CROSS(六十日净量,0),六十日净量,23);