今日成交量:=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;
看 股吧公式 www.k anguba.com