大智慧好用的成交量指标
-
相关简介:大智慧好用的成交量指标 M1:=5;M2:=35;M3:=135; VOL,VOLSTICK,PRECIS0; {预测当日量} YCV:=0; IF DATE=CURRENTDATE THEN BEGIN TIMES:=IF(TIMETOT0(CURRENTTIME)=9.5*3600 AND TIMETOT0(CURRENTTIME)=11.5*3600,TIMETOT0(CURRENTTIME)-9.5*3600,IF(TIMETOT0(CURRENTTIME)=13*3600 AND TI
-
文章来源:股海网作者:股海网发布时间:2012-08-13浏览次数:
大智慧好用的成交量指标
M1:=5;M2:=35;M3:=135;
VOL,VOLSTICK,PRECIS0;
{预测当日量}
YCV:=0;
IF DATE=CURRENTDATE THEN BEGIN
TIMES:=IF(TIMETOT0(CURRENTTIME)>=9.5*3600 AND TIMETOT0(CURRENTTIME)<=11.5*3600,TIMETOT0(CURRENTTIME)-9.5*3600,IF(TIMETOT0(CURRENTTIME)>=13*3600 AND TIMETOT0(CURRENTTIME)<15*3600,TIMETOT0(CURRENTTIME)-11*3600,4*3600));
YCV:=IF(DATATYPE=8 AND BARSTATUS=2 AND TIMES<300,VOL*4*3600/TIMES*(0.7+TIMES/1000),IF(DATATYPE=8 AND BARSTATUS=2,VOL*4*3600/TIMES,0));
END;
测:IF(YCV=0,VOL,YCV),LINETHICK0,PRECIS0;
STICKLINE(BARSTATUS=2,VOL,测,6,1),COLORYELLOW;
{异动提示}
V1:MA(Vol,M1),colorwhite,PRECIS0;
V2:MA(Vol,M2),colorRED,PRECIS0;
V3:MA(Vol,M3),colorGREEN,PRECIS0;
地量:VOL<LLV(VOL,14)*1.001,PRECIS0;
HHVOL:=HHVALL(VOL);
DRAWLINE(HHVOL=VOL,HHVOL*1.1,HHVOL<>VOL,HHVOL*1.1,11),COLOR888888;
DRAWLINE(HHVOL=VOL,HHVOL*1.2,HHVOL<>VOL,HHVOL*1.2,11),COLOR888888;
DRAWICON(地量>0,HHVOL*1.08,11);
出击:STICKLINE(CROSS(V1,V3) OR ((V2 > V3) AND CROSS(V1,V2)),HHvol*1.1,HHVOL*1.2,8,0),COLORred;
启动:STICKLINE(V1>REF(V1,1) AND (CROSS(VOL,V1) AND (REF(VOL,1)<REF(V3,1) OR REF(VOL,2)<REF(V3,2))),HHvol*1.1,HHVOL*1.2,8,0),COLORYELLOW;
{画成交量柱}
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/3));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/3));
买卖盘比:-(主动买盘/主动卖盘),COLORYELLOW,PRECIS2;
STICKLINE(主动买盘>0,0,主动买盘,1,0),COLORRED;
STICKLINE(主动卖盘<0,VOL,主动买盘,1,0),COLOR00FF00;
换手:=VOL/CAPITAL*100;
STICKLINE(换手>0 ,0, 主动买盘,6,0),COLOR9900AA;
STICKLINE(换手>0,VOL, 主动买盘, 6,1) ,COLOR00f5ae;