大智慧主力难逃指标公式

今日成交量:=vol;

VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));

主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));

今日主买比:=主动买盘/CAPITAL*100;

MA10:MA(今日主买比,8),COLORRED,LINETHICK2;

MA20:MA(今日主买比,30),COLORYELLOW,LINETHICK2;

1,COLORGREEN;