Hello Ninja Trader Support,
I have created an Automated Strategy which executes as expected but there are times when my ProfitTarget order is rejected due to price movement or for being outside of High or Low Band.
I have set RealtimeErrorhandling to IgnoreAllErrors and have tried to implement an section in my script for OnOrderUpdate to resubmit the SetProfitTarget order if the OrderState is Rejected. I found some examples in the forum and documentation but it just isn't working.
I have attached my OnOrderUpdate code as well as the Error Log lines that show the error. I ended up having to submit the order manually via ChartTrader.
Thanks for all your help,

Comment