分笔透析 跌停买:=if(c=DYNAINFO(55),vol,0); 涨停卖:=if(c=DYNAINFO(54),vol,0); 买1:=if(c=DYNAINFO(55),跌停买,buyvol); 卖1:=if(c=DYNAINFO(54),涨停卖,sellvol); 买2:=if(time>145956 and c>BIDPRICE(1),vol,0); 卖2:=if(time>145956 and c<ASKPRICE(1),vol,0); 买:=if(买1=0,买2,买1); 卖:=if(卖1=0,卖2,卖1); 主动买单:=if(c>=ref(c,1) and AMOUNT>=50000 ,买,0); 主动卖单:=if(c<=ref(c,1) and AMOUNT>=50000 ,卖,0); 开盘量:=hhv(if(time<=093005 and amount>1000000,vol,0),0); 收盘买量:=if(time>145956 and c>BIDPRICE(1),vol,0); 收盘卖量:=if(time>145956 and c<ASKPRICE(1),vol,0); 大买量:sum(主动买单,0)+if(DYNAINFO(4)>=DYNAINFO(3),开盘量,0); 大卖量:sum(主动卖单,0)+if(DYNAINFO(4)<DYNAINFO(3),开盘量,0); |
