Now suppose that price spikes up through my buy entry price and gets filled. In OnOrderExecution, I am able to see this and now I want to set a profit target say 10 ticks above my entry price.
But what happens if I try to do this, but when I submit my order, the actual price has already moved above the target price?
In a perfect world, NinjaTrader would recognize that the price is already above the target price i wan and would therefore just close the trade. So does this happen? This is what I want to happen. It would be highly annoying if NT just rejects that order, but NT does all kinds of annoying things so who know.
If this is not the default behavior, please tell me how to make sure that this target limit order is filled if price has already moved beyond that target limit price.
Comment