HS:=vol/capital;
TODAY:=("DDX.DDX")=0;
DD1:=BIGORDER(1,3)-BIGORDER(2,3);
DD2:="DDEDATA@BIGORDER"(1,3)-"DDEDATA@BIGORDER"(2,3);
CD:=IF(TODAY,DD2,DD1);
超大:=HS*CD*100;
报告日期:=FINANCE2(1);
DRAWTEXTABS(0,0,'■财务报告日期:'+NUMTOSTRN(报告日期,0)+'日'),Color0000FF,LINETHICK1;
流通盘万股:=CAPITAL/1000000;
上期持股比例:=PFFINON(4252,2037,1230);
DRAWTEXTABS(160,0,'■十大股东持股:'+NUMTOSTRN(上期持股比例,4)+'%'),Color00FFFF,LINETHICK1;
N:=COUNT(DATE>(报告日期-19000000),0);
机构持仓:IF(N=0,上期持股比例,(上期持股比例+Sum(超大,N))),LINETHICK2,coloryellow;
r1:=IF(TODAY,"DDEDATA@BIGORDER"(1,3),BIGORDER(1,3))*HS*100;
r2:=IF(TODAY,-"DDEDATA@BIGORDER"(2,3),-BIGORDER(2,3))*Hs*100;
r3:=IF(N=0,0,(r1+r2));
r:=IF(N=0,上期持股比例,(上期持股比例+Sum(超大,N)));
STICKLINE(r3>0,r,r+r3,1,0.5),colorred;
STICKLINE(r3<0,r+r3,r,1,0.5),colorgreen;