今日:=; VAR1:=/((HIGH-LOW)*2-A(CLOSE-OPEN));主动:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),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;