今日成交量:=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);

 

通达信主动买盘比指标公式