大智慧主买成分指标公式

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.zhibiaow.com 指标网_大智慧股票指标公式}

主卖:=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);