Advanced AI Ninjatrader Grid Strategy Development

Job ID: 38031048

Budget: $30 – $250 USD

I have a grid-trading strategy that involve reversing current poisons, when I run the strategy on sim it works fine the positions reversed fine and target replaced fine. but when I use live account, it become complete mess when the condition met to revers the trades.
I tried to use sim account and use trade copier to live account, but the same issue happens.
I have contacted Ninjatrader Engineering and they informed me the below:
With the script you have provided the logic in OnBarUpdate() is evaluating when BarsInProgress is 1, the tick series, and there are chained orders being submitted from in OnExecutionUpdate().

You will need to debug the behavior using prints to understand why the conditions to submit the orders are evaluating as true so rapidly.

Print the time and all values for each condition one at at time to understand which conditions are evaluating as true and how often.

Below is a link to a support article on using prints to understand behavior.
https://support.ninjatrader.com/s/article/Developer-Guide-Debugging-using-Print-and-TraceOrders