大智慧逐笔日线指标
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:15.0 KB
更新时间:2010-07-25 08:29:00
公式简介:
DDX主笔动向
{逐笔专家之主笔动向}
input:P1(60,0,100),P2(5,0,100),P3(10,0,100);
variable:DDX=0;
refline:0;
DDX:((SELFDATA('主买特大')+SELFDATA('主买大单'))-(SELFDATA('主卖特大')+SELFDATA('主卖大单')))/CAPITAL*100,COLOR3D;
TDX:(SELFDATA('主买特大')-SELFDATA('主卖特大'))/CAPITAL*100,linethick0,ColorFFFF10;
DDX1:EMA(DDX,p1)*p1,color00ffff;
DDX2:MA(DDX1,p2),colorff00ff;
DDX3:MA(DDX1,p3),color00ff00;
十日飘红天数:count(DDX>0,10),LINETHICK0,COLORRED;
连红天数:last(DDX>0),LINETHICK0,COLORRED;
DDX连增:last(DDX>REF(DDX,1)),linethick0;
DDX多头:last(DDX1>DDX2 and DDX1>DDX3 and DDX2>DDX3),linethick0,ColorFFFF10;
主动买盘:=SELFDATA('主买特大')+SELFDATA('主买大单');
主动卖盘:=SELFDATA('主卖特大')+SELFDATA('主卖大单');
VX:=(主动买盘/主动卖盘)-1;
d1:=ema(abs(VX),60);
d2:=max(VX/d1+9.5,9.5);
d3:=min(VX/d1*2,10);
主笔能量:d3,linethick0;
DDX大笔动向
{逐笔专家之大笔动向}
input:P1(60,0,100),P2(5,0,100),P3(10,0,100);
variable:DDX=0;
refline:0;
DDX:(SELFDATA('主买大单')-SELFDATA('主卖大单'))/CAPITAL*100,COLOR3D;
DDX1:EMA(DDX,p1)*p1,color00ffff;
DDX2:MA(DDX1,p2),colorff00ff;
DDX3:MA(DDX1,p3),color00ff00;
十日飘红天数:count(DDX>0,10),LINETHICK0,COLORRED;
连红天数:last(DDX>0),LINETHICK0,COLORRED;
DDX连增:last(DDX>REF(DDX,1)),linethick0;
DDX多头:last(DDX1>DDX2 and DDX1>DDX3 and DDX2>DDX3),linethick0,ColorFFFF10;
DDX中笔动向
{逐笔专家之中笔动向}
input:P1(60,0,100),P2(5,0,100),P3(10,0,100);
variable:DDX=0;
refline:0;
DDX:(SELFDATA('主买中单')-SELFDATA('主卖中单'))/CAPITAL*100,COLOR3D;
DDX1:EMA(DDX,p1)*p1,color00ffff;
DDX2:MA(DDX1,p2),colorff00ff;
DDX3:MA(DDX1,p3),color00ff00;
十日飘红天数:count(DDX>0,10),LINETHICK0,COLORRED;
连红天数:LAST(DDX>0),PRECIS0,color0000FF,linethick0;
DDX连增:last(DDX>REF(DDX,1)),linethick0;
DDX多头:last(DDX1>DDX2 and DDX1>DDX3 and DDX2>DDX3),linethick0,ColorFFFF10;
DDX小笔动向
{逐笔专家之小笔动向}
input:P1(60,0,100),P2(5,0,100),P3(10,0,100);
variable:DDX=0;
refline:0;
DDX:(SELFDATA('主买小单')-SELFDATA('主卖小单'))/CAPITAL*100,COLOR3D;
DDX1:EMA(DDX,p1)*p1,color00ffff;
DDX2:MA(DDX1,p2),colorff00ff;
DDX3:MA(DDX1,p3),color00ff00;
十日飘红天数:count(DDX>0,10),LINETHICK0,COLORRED;
连红天数:LAST(DDX>0),PRECIS0,color0000FF,linethick0;
DDX连增:last(DDX>REF(DDX,1)),linethick0;
DDX多头:last(DDX1>DDX2 and DDX1>DDX3 and DDX2>DDX3),linethick0,ColorFFFF10;
DDY笔涨跌动因
{逐笔专家之笔DDY涨跌动因}
input:P1(60,0,100),P2(5,0,100),P3(10,0,100);
variable:DDY=0;
refline:0;
主笔净数:=SELFDATA('主买笔数')-SELFDATA('主卖笔数');
成交笔数:=SELFDATA('主买笔数')+SELFDATA('主卖笔数');
DDY:主笔净数/成交笔数,COLOR3D;
DDY1:EMA(DDY,p1)*p1,color00ffff;
DDY2:MA(DDY1,p2),colorff00ff;
DDY3:MA(DDY1,p3),color00ff00;
二十日红:COUNT(DDY>0,20),PRECIS0,colorFFFFFF,linethick0;
连红:LAST(DDY>0),PRECIS0,color0000FF,linethick0;
DDY连增:last(DDY>REF(DDY,1)),colorwhite,linethick0;
DDY多头:last(ddy1>ddy2 and ddy1>ddy3 and ddy2>ddy3),linethick0,ColorFFFF10;
连绿:LAST(DDY<0),PRECIS0,color00FF00,linethick0;
成交笔吃
{逐笔专家之成交笔吃}
{完全换手}
VARIABLE:K=1;
VAR1:=SUM(VOL,0);
VAR2:=VAR1/CAPITAL;
N:=FLOOR(VAR2);
IF N=REF(N,1)+1 THEN BEGIN
STICKLINE(C,0,7,4,4);
DRAWTEXT(C,6,' '+NUMTOSTR( N)),ALIGN0,COLORRED;
DRAWTEXT(C,4,' 次'),ALIGN0,COLORGREEN;
DRAWTEXT(C,2,' '+NUMTOSTR( K)+'天'),ALIGN0,COLORGREEN;
K:=1;
END
ELSE
K:=K+1;
{当日交易}
成交占盘:vol/capital*100,VOLSTICK;
通吃占盘:((SELFDATA('主买特大')+SELFDATA('主买大单'))-(SELFDATA('主卖特大')+SELFDATA('主卖大
单')))/CAPITAL*100,coloryellow,COLOR3D;
庄家吃货比:通吃占盘/成交占盘,linethick0,Colorred;
STICKLINE(庄家吃货比>0.2,5,成交占盘,5,0),COLORRED;
MAHSL1:MA(vol,5)/capital*100,colorwhite;
MAHSL2:MA(vol,30)/capital*100,coloryellow;
{逐笔主动率}
主动买盘:=SELFDATA('主买特大')+SELFDATA('主买大单')+SELFDATA('主买中单')+SELFDATA('主买小单');
主动卖盘:=SELFDATA('主卖特大')+SELFDATA('主卖大单')+SELFDATA('主卖中单')+SELFDATA('主卖小单');
主动总量:=主动买盘+主动卖盘;
主动净额:=主动买盘-主动卖盘;
主动率:主动净额/主动总量*100,LINETHICK0;
五日主动率:SUM(主动净额,5)/SUM(主动总量,5)*100,LINETHICK0;
{主笔通吃率}
主笔买盘:=SELFDATA('主买特大')+SELFDATA('主买大单');
主笔卖盘:=SELFDATA('主卖特大')+SELFDATA('主卖大单');
主笔净额:=主动买盘-主动卖盘;
通吃率:主笔净额/VOL*100,LINETHICK0;
三日通吃率:SUM(主笔净额,3)/SUM(VOL,3)*100,LINETHICK0;
五日通吃率:SUM(主笔净额,5)/SUM(VOL,5)*100,LINETHICK0;
分笔是某个时点股票价买卖成交集合,分时是某一分钟成交量,逐笔是某秒成交笔数和量,逐单是各位挂单被一步步的吃掉。
相对分时要完整,逐单更清析,逐笔要明白,分笔要好用。
分笔:3秒内成交集合(L2行情)或6秒内成交集合(L1行情),是比较粗糙的数据;
分时:一般指一分钟成交集合;
逐笔:是最细的成交颗粒,不好再拆分了;
逐单:是最真实的成交,代表着每张委托单;
[url=http://www.goodgupiao.com/gupiaogongshi/8721.html][B]大智慧逐笔日线指标[/B][/url]