代码分笔周期执行
if BIDVOL>1000 and askvol<200 then buy(holding=0,100,market);
if holding>0 and c<enterprice-5 then sell(1,0,market);
if holding>0 and c>enterprice+10 then sell(1,0,market);
if bidvol<200 and askvol>1000 then buyshort(holding=0,100,market);
if holding<0 and c>enterprice+5 then sellshort(1,0,market);
if holding<0 and c<enterprice-10 then sellshort(1,0,market);