VOLL解盘指标 (源码)

2012-03-07 08:57:00来源:本站整理浏览:145

大智慧VOLL解盘指标公式股票软件源码如下:

当日:=VOL;
量5:=MA(VOL,5);
量10:=MA(VOL,10);
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘: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);
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(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff;
STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF;
STICKLINE((主动买盘 > 0),0,主动买盘,7.8,0),color0018FF;
STICKLINE((主动买盘 > 0),0,主动买盘,7.5,0),color001BFF;
STICKLINE((主动买盘 > 0),0,主动买盘,7.3,0),color0022FF;
STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF;
STICKLINE((主动买盘 > 0),0,主动买盘,6.8,0),color0041FF;
STICKLINE((主动买盘 > 0),0,主动买盘,6.5,0),color0050FF;
STICKLINE((主动买盘> 0),0,主动买盘,6.3,0),color0059FF;
STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF;
STICKLINE((主动买盘 > 0),0,主动买盘,5.7,0),color006CFF;
STICKLINE((主动买盘> 0),0,主动买盘,5.5,0),color007AFF;
STICKLINE((主动买盘 > 0),0,主动买盘,5.3,0),color0080FF;
STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF;
STICKLINE((主动买盘 > 0),0,主动买盘,4.5,0),color0095FF;
STICKLINE((主动买盘 > 0),0,主动买盘,3.5,0),color009CFF;
STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF;
STICKLINE((主动买盘> 0),0,主动买盘,2.5,0),color00C0FF;
STICKLINE((主动买盘 > 0),0,主动买盘,1.5,0),color00D1FF;
STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF;
STICKLINE((主动买盘 > 0),0,主动买盘,0.7,0),color00FFFF;
STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800;
STICKLINE((主动卖盘 > 0),0,主动卖盘,7.8,0),color007F00;
STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00;
STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00;
STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;
STICKLINE((主动卖盘 > 0),0,主动卖盘,6.8,0),color009500;
STICKLINE((主动卖盘> 0),0,主动卖盘,6.5,0),color009C00;
STICKLINE((主动卖盘> 0),0,主动卖盘,6.3,0),color00A300;
STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00;
STICKLINE((主动卖盘 > 0),0,主动卖盘,5.7,0),color00AF00;
STICKLINE((主动卖盘 > 0),0,主动卖盘,5.5,0),color00B900;
STICKLINE((主动卖盘 > 0),0,主动卖盘,5.3,0),color00C000;
STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100;
STICKLINE((主动卖盘 > 0),0,主动卖盘,4.5,0),color00CA00;
STICKLINE((主动卖盘> 0),0,主动卖盘,3.5,0),color00D300;
STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00;
STICKLINE((主动卖盘> 0),0,主动卖盘,2.5,0),color00EA00;
STICKLINE((主动卖盘> 0),0,主动卖盘,1.5,0),color00FF00;
DRAWTEXTABS(1,1,'┃买入累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;
DRAWTEXTABS(150,1,'┃卖出累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;
DRAWTEXTABS(300,1,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;
DRAWTEXTABS(450,1,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;
DRAWTEXTABS(540,1,'┃挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;
DRAWTEXTABS(650,1,'┃挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;

大智慧VOLL解盘指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式