量:=vol;
额:=AMOUNT/10000000;
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
流通盘:CAPITAL/1000000;
流入资金:MA(主买,4);
流出资金:MA((0-主卖),4);
BB:=(主买+主卖);
STICKLINE(流入资金>流出资金,流入资金,流出资金,1.6,0),COLORRED;
STICKLINE(流入资金<流出资金,流出资金,流入资金,1.6,0),COLORGREEN;