YD:="VOLⅡ.昨收#DAY";
Mm:=if(c=DYNAINFO(54) and l=DYNAINFO(54),h-yd,h-ref(c,1));
m:=if(mm>0,mm,0.0);
Ss:=if(c=DYNAINFO(55) and h=DYNAINFO(55),yd-h,ref(c,1)-L);
s:=if(ss>0,ss,0.0);
hj:=m+s;
流入额:=m/hj*AMOUNT;
流出额:=s/hj*AMOUNT;
净额:(流入额-流出额),COLORBLACK;
STICKLINE(净额>0,净额,0,7,0),COLORRED;
STICKLINE(净额<0,净额,0,7,0),COLORFFFF00;