真实DDX源码
-
相关简介:真实DDX源码 INPUT: P1(60,0,100),P2(5,0,100),P3(10,0,100); REFLINE:0; DRAWTEXTABS(0,0,'大单动向'); VAR0:=MIN(COUNT(ORDER(2),0),P1); DDX:(BIGORDER(1) - BIGORDER(2)) * VOL/CAPITAL * 100,linethick0; 真实DDX:(BIGORDER(1) - BIGORDER(2)) ,linethick0; 换手率:vol/capital*
-
文章来源:Admin作者:股海网发布时间:2011-05-07浏览次数:
真实DDX源码
INPUT: P1(60,0,100),P2(5,0,100),P3(10,0,100);
REFLINE:0;
DRAWTEXTABS(0,0,'大单动向');
VAR0:=MIN(COUNT(ORDER(2),0),P1);
DDX:(BIGORDER(1) - BIGORDER(2)) * VOL/CAPITAL * 100,linethick0;
真实DDX:(BIGORDER(1) - BIGORDER(2)) ,linethick0;
换手率:vol/capital*100,linethick0;
真实换手:vol/(capital*100 * ((100-PFFIN(4252,0))/100))*10000,linethick0;
换手风险:(真实换手-ema(真实换手,60))/ema(真实换手,60),coloryellow;
STICKLINE(ddx>=0,0,ddx,8,1),colorred;
STICKLINE(ddx<0,ddx,0,8,1),colorgreen;
STICKLINE(真实ddx>=0,0,真实ddx,8,0),colorMagenta;
STICKLINE(真实ddx<0,真实ddx,0,8,0),color00A13A;
1,DOTLINE,colorred;