在线检测未来函数

大智慧虚拟量指标公式

来源:Internet,编辑:股旁网,2011-06-13

成交量:VOL,COLORWHITE,PRECIS0,LINETHICK0;
换手率:=VOL/CAPITAL*100;
成交额:=AMOUNT;
T:=TIMETOT0(CURRENTTIME)/60;
交易日:=IF(CURRENTDATE=DATE,1,0);
交易时间:=IF(交易日=1 AND CURRENTTIME>=93000 AND CURRENTTIME<150000 AND DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,
IF(CURRENTTIME<113000,(T-570),IF(CURRENTTIME>130000,(T-660),120)),240);
虚拟量:VOL*240/交易时间,COLORYELLOW,PRECIS0,LINETHICK0;
虚换手:换手率*240/交易时间,COLORFF00FF,PRECIS2,LINETHICK0;
虚拟额:成交额*240/交易时间/10000,COLORWHITE,PRECIS0,LINETHICK0;
量比:="量比#MIN1";
获利盘:=WINNER(CLOSE)*100;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
量能饱和度:IF(SAT>1,1,SAT)*100,COLORYELLOW,PRECIS2,LINETHICK0;
V5:MA(VOL,5),COLORWHITE,PRECIS0,LAYER0;
V10:MA(VOL,10),COLORYELLOW,PRECIS0,LAYER0;
V135:MA(VOL,135),COLORFF00FF,PRECIS0,LAYER0;
STICKLINE(DISPSTATUS=2 AND 交易时间>0,VOL,VOL*240/交易时间,8,1),COLORYELLOW;
STICKLINE(C>=O,0,VOL,8,0),COLOR000011;
STICKLINE(C>=O,0,VOL,6.5,0),COLOR000033;
STICKLINE(C>=O,0,VOL,5,0),COLOR000055;
STICKLINE(C>=O,0,VOL,3.5,0),COLOR000077;
STICKLINE(C>=O,0,VOL,2,0),COLOR000099;
STICKLINE(C>=O,0,VOL,0.5,0),COLOR0000BB;
STICKLINE(C<O,0,VOL,8,0),COLOR222200;
STICKLINE(C<O,0,VOL,6.5,0),COLOR333300;
STICKLINE(C<O,0,VOL,5,0),COLOR444400;
STICKLINE(C<O,0,VOL,3.5,0),COLOR555500;
STICKLINE(C<O,0,VOL,2,0),COLOR666600;
STICKLINE(C<O,0,VOL,0.5,0),COLOR777700;
DRAWTEXTREL(2,25,'量 比:'),COLORYELLOW;
DRAWTEXTREL(60,25,NUMTOSTRN(量比,2)),COLORYELLOW;
DRAWRECTREL(125,25,325,225,RGB(30,30,30)),COLORYELLOW;
DRAWRECTREL(125,25,IF(125+量比*10<=325,125+量比*10,325),225,RGB(155,50,50)),COLORYELLOW;
DRAWTEXTREL(2,275,'虚换手:'),COLORYELLOW;
DRAWTEXTREL(60,275,NUMTOSTRN(虚换手,2)+'%'),COLORYELLOW;
DRAWRECTREL(125,275,325,475,RGB(30,30,30)),COLORYELLOW;
DRAWRECTREL(125,275,IF(125+虚换手*10<=325,125+虚换手*10,325),475,RGB(155,50,50)),COLORYELLOW;
DRAWTEXTREL(2,525,'饱和度:'),COLORYELLOW;
DRAWTEXTREL(60,525,NUMTOSTRN(量能饱和度,2)+'%'),COLORYELLOW;
DRAWRECTREL(125,525,325,725,RGB(30,30,30)),COLORYELLOW;
DRAWRECTREL(125,525,125+量能饱和度*2,725,RGB(155,50,50)),COLORYELLOW;
DRAWTEXTREL(2,775,'获利盘:'),COLORYELLOW;
DRAWTEXTREL(60,775,NUMTOSTRN(获利盘,2)+'%'),COLORYELLOW;
DRAWRECTREL(125,775,325,975,RGB(30,30,30)),COLORYELLOW;
DRAWRECTREL(125,775,125+获利盘*2,975,RGB(155,50,50)),COLORYELLOW;

大智慧虚拟量指标公式

 

相关文章