When a NinjaTrader strategy is not working, the problem may be code, configuration, chart setup, account state, data, or the difference between historical and real-time processing. Treating all of those as “the strategy is broken” usually wastes time.
The practical first step is to separate setup issues from actual NinjaScript repair.
First checks before changing code
Before requesting a rewrite, confirm:
- The strategy compiles with no NinjaScript errors.
- The correct account is selected.
- The instrument, contract month, bar type, and trading-hours template match the expected setup.
- Strategy inputs are set to the values you tested.
- The strategy is enabled on the intended chart or strategy tab.
- The output window does not show rejected orders, missing data, or runtime exceptions.
If any of those are wrong, code changes may not help. The same strategy can look broken when it is running against the wrong chart, wrong session, or wrong account.
Strategy behavior problems that need code review
Code review is more likely needed when:
- The strategy double-submits or misses orders.
- Stops and targets are not managed correctly.
- Historical trades look acceptable but live behavior diverges.
- Reloading the chart changes the position or signal state.
- The strategy depends on multiple timeframes or instruments.
- It does not handle partial fills, rejected orders, reconnects, or account sync.
Those problems usually need a clear reproduction path. Moore Tech needs to know what should happen, what happened instead, and whether the issue appears historically, in simulation, in Market Replay, or live.
Repair, diagnostic, or rebuild
Use paid support when the question is mostly setup, import, licensing, or “help me understand what is happening.” Use NinjaTrader code repair when an existing file is broken and needs debugging. Use NinjaTrader programming when the strategy needs new rules, order handling, risk controls, or a larger rebuild.
What to send
Send the strategy file or export, NinjaTrader version, settings screenshots, instrument, bar type, session template, error text, and a short example of correct versus incorrect behavior.
Ask for a NinjaTrader strategy diagnosis if you want Moore Tech to recommend setup support, repair, or custom development.