My limit and stop exits on the existing position are bound OCO by entry labels when placed.
I am not able to put in an entry order to reverse my position without cancelling the old limit and stop.
Since the entry order I place is a limit order, it might not be filled so cancelling the exit orders means the position would end up unprotected, if the entry level is never hit.
As far as I understood, placing a new order would actually just modify the existing order.
Since I want to do this in the OnBarUpdate method, it looks like I'm stuck. I could modify the exit limit order and if it is filled, submit the entry order, but then I've lost precious time and might miss the entry.

Comment