量:=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;
总量:=买量+卖量;
净量:=买量-卖量;
五日净量:=SUM(净量,5);
十日净量:=SUM(净量,10);
二十日净量:=SUM(净量,20);
五十日净量:=SUM(净量,50);
停牌:=(DYNAINFO(4)=0);
XG:总量=净量 AND NOT(停牌); |