DDZ:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200;
DDZ1:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*170;
FILLRGN(DDZ,DDZ1,DDZ>DDZ1,RGB(255,0,0),DDZ
DRAWTEXTABS(0,0,'大单分差');
---------------------------------------------------------
DDY:=(ORDER(2)-ORDER(1))/CAPITAL*100;
STICKLINE(DDY>0,0,DDY,5,0 ),COLORRED;
STICKLINE(DDY<0,0,DDY,5,0 ),COLORGREEN;
DDY1:MA(DDY,p1),COLORWHITE;
DDY2:EMA(DDY1,p2),COLORYELLOW;
DRAWTEXTABS(0,0,'涨跌动因');
---------------------------------------------
refline:0;
DDX:=(BIGORDER(1)-BIGORDER(2))*VOL/CAPITAL*100;
STICKLINE(DDX>0,0,DDX,5,0 ),COLORRED;
STICKLINE(DDX<0,0,DDX,5,0 ),COLORGREEN;
DDX1:MA(DDX,p1),COLORWHITE;
DDX2:EMA(DDX1,p2),COLORYELLOW;
DRAWTEXTABS(0,0,'大单动向');
-----------------------------------
p1=5 p2=20
|