A1:=MIN((COUNT(ORDER(2),0)),60);
DDX:((((BIGORDER(1,2) - BIGORDER(2,2)) * VOL) / CAPITAL) * 100),COLOR3D ;
DRAWTEXTABS(0,0,'大单动向');
HS:=vol/capital;
DD:=BIGORDER(1,2)-(BIGORDER(2,2));
DT:=HS*DD*100;
LR:=HS*(1-BIGORDER(1,2))*100;
LC:=HS*(1-BIGORDER(2,2))*100;
大单净买 : (DT * capital) * (amount/(v*100))/10000,linethick0;
N日累计净买: SUM(大单净买,10), linethick0,color00EEEE;
流通比: DT, linethick0;
连红:LAST(DD>0),PRECIS0,color0000FF,linethick0;
十日连红:COUNT(DD>0,10),PRECIS0,colorgray,linethick0;
DDX1:EMA(ddx,A1) * A1;
DDX2:MA(DDX1,5),DOTLINE;
DDX3:MA(DDX1,10),DOTLINE;
PARTLINE(DDX3,(DDX3>REF(DDX3,1))),LINETHICK2,Coloraa00FF;