VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
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);