大智慧VOL新成交量指标公式
量10:MA(vol,10);
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
成交:VOL,ColorCD52FF,linethick0;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),Color0000FF,stICK;
主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color00E521,STICK;
买卖比:主动买盘/主动卖盘;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
{指标网-股票公式网站 www.zhibiaow.com}
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6:=(VD1*VD5);
VD7:=(VD2*VD5);
VD8:=(VD3*VD5);
VD9:=(VD4*VD5);
买入量:=(VD9+VD8);
卖出量:=(VD6+VD7);
买入资金:=买入量*close/100;
卖出资金:=卖出量*close/100;
资金进出:=买入资金-卖出资金;
买卖资金比:=买入资金/卖出资金;
挂单买盘:=MA(主动买盘,3);
挂单卖盘:=(MA(主动卖盘,3));
DRAWTEXTABS(1,1,'【买卖盘解量(手)】'),Color4080FF;
DRAWTEXTABS(1,15,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF;
DRAWTEXTABS(1,28,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00;
DRAWTEXTABS(1,41,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow;
DRAWTEXTABS(500,1,'┃当日买卖比='+NUMTOSTR(买卖比)),ColorFF00FF;
DRAWTEXTABS(250,2,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;
DRAWTEXTABS(250,15,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;
DRAWTEXTABS(250,28,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;
DRAWTEXTABS(250,42,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;
DRAWTEXTABS(500,28,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;
DRAWTEXTABS(500,15,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;