上证指数和深成指中的vol是怎样计算出来的?
发布网友
发布时间:2022-04-29 19:36
我来回答
共1个回答
热心网友
时间:2022-06-21 16:52
“主动买卖盘资金”指标
“主动买卖盘资金”指标
==================================================
量:=VOL,;
额:=AMOUNT/10000000;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
换手:VOL/CAPITAL*100;
流通盘:CAPITAL/1000000;
流入资金:ma(主买,4);
流出资金:ma((0-主卖),4);
bb:=(主买+主卖);
STICKLINE(流入资金>流出资金,流入资金,流出资金,6,0),COLORRED;
STICKLINE(流入资金<流出资金,流出资金,流入资金,6,0),COLORGREEN;