I need to gain clarity about a fundamental concept about the NinjaTrader orders-executions handling.
After many experiments I concluded that with StopCancelCloseIgnoreRejects or IgnoreAllErrors, with any type of handling in the OnOrderUpdate() block, the strategy still terminates.
Can I avoid to have a strategy to stop AFTER a rejection or I must always prevent the rejection?
I am underlying the work AFTER because so far all the answers seem to indicate that rejection can only be prevented in order not to have a strategy to terminate prematurely.
This is because I cannot prevent all rejection as I keep very tight stops, even assuring that the stop order are below the bid but a couple of ticks.
In other words, I think there is no way with tight stops to prevent rejection errors.
So there is no way to avoid a strategy from terminating when a change order error or rejection happens (with very tight stops) ?
In other words, are there actions that can be coded AFTER a rejection to prevent the strategy from terminating in the OnOrderUpdate() ?
If yes what are the action to be taken?
I wouldn't want to substitute all stops with market orders that trigger below a certain price because if I implement orders with this methodology the stop won't stay on the server. I hope this statement is correct.
Please help me to clarify this topic once for all, it seems to me impossible that NinjaTrader8 cannot prevent a strategy from terminating using tight stops in high volatility markets.
Thank you.
Gio
PS My main execution structure is basically that of "ManagedRithmicIBFriendlyExample" beucase it seems the one that might get me closer to the solution.

Comment