今日成交量:=vol,LINETHICK0;
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)
+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1
*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
{ _通达信股票指标公式}
今日主买比:=主动买盘/CAPITAL*100;
MA10:MA(今日主买比,10),COLORRED,LINETHICK2;
MA20:MA(今日主买比,20),COLORYELLOW,LINETHICK2;
1,COLORGREEN;
买点:crOSS(MA10,MA20),NODRAW,COLORBLUE;
DRAWICON(买点,MA10+0.5,25);