量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE总量:=买量+卖量;净量:=买量-卖量;五日净量:=SUM(净量,5);十日净量:=SUM(净量,10);二十日净量:=SUM(净量,20);五十日净量:=SUM(净量,50);XG:总量=净量;