Referring to the attached image. 10 tick range on /ES.
When Bar01 closes, I will submit a long limit order indicated by the blue horizontal line (5385.75).
Price drops quickly and I got filled at Bar03 instead. By right, when the current bar (Bar02) closes, my order should be cancelled.
If price ran up and Bar02 closes on its high, my order do get cancelled. (this behavior is desired).
Any tips on how to solve this? I want a guaranteed order cancellation as long as Bar02 closes without filling my orders.

)
Comment