开仓条件加入: (time>=092000 and time<=115500) or (time>=130500 and time<=162500) or (time>=172000 and time<=234000);
清仓:
if (time>115500 and time<=120000) or (time>162500 and time<=163000) or (time>234000 and time<=234500) then begin
sell(1,0,market);
sellshort(1,0,marketr);
end