if c>o and time<=093300 then buy(1,1,limit,c);
if c<o and time<=093300 then buyshort(1,1,limit,c);
sell((c-enterprice)>=5 and holding>0,1,market);
sell((c-enterprice)<=10 and holding>0,1,market);
sellshort((enterprice-c)>=5 and holding<0,1,market);
sellshort((c-enterprice)<=10 and holding>0,1,market);
if time>=145900 then
begin
sell(holding>0,1,market);
sellshort(holding<0,1,market);
end