大智慧日线买卖成交量指标公式:
M1:=5;M2:=20;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,COLOR10FFFF,LINETHICK0;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLOR10FFFF,LINETHICK0;
主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR10FFFF,LINETHICK0;
净买盘:主动买盘+主动卖盘,POINTDOT,COLORYELLOW;
STICKLINE(净买盘>0,0,净买盘,6,0),COLORRED;
STICKLINE(净买盘<0,0,净买盘,6,0),COLOR00FF00;
MA1:MA(净买盘,5),COLORYELLOW,LINETHICK1;
MA2:MA(净买盘,20),COLORBLUE,LINETHICK1;
大智慧日线买卖成交量指标公式