I´m trading FX with IB. So the brokers tradingsession is 23:15-23:00 MEZ. For my strategy I´m using 10min charts with session 7:00-19:00. So I have to use CancelOrder() at SessionEnd for canceling StopOrders (Enter- or Exit-Stops) at 19:00 MEZ. I´m not using ExitonClose() because I´d like to hold positions overnight.
How can I resubmit the StopOrders at 7:00 in the morning? OnBarUpdate() is first called at 7:10 if I understand right.
Thanks a lot.
Joerg

Comment