VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
{九毛八股票公式指标网 全网优质指标下载平台www.9m8.cn}
主卖:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
{1、主买/总成交量=%
2、主买减去主卖=资金差}
主买成分:=主买/vol*100;{主买/总成交量=%}
{ema(主买成分,5);
ema(ema(主买成分,5),5);
ma(ema(ema(主买成分,5),5),5);
ma(ema(ema(主买成分,5),5),8);}
资金差:主买-主卖;
a:ema(资金差,5);
b:ema(a,5);
ema(资金差,144);