Black Friday, until December 2: FONDEOREAL gives 30% off the 50K, 20% off the 100K and 10% off the 150K at FTMO Futures. See the offer →

Lab · November 2026 · 4 min read

NinjaTrader 8 Internal Order Handling Rules Explained

Why NinjaTrader 8 ignores a managed order: the Internal Order Handling Rules, what triggers them and how to find the cause, based on the official guide.

If NinjaTrader ignores an order and points to its internal rules, it's rarely a bug. With managed order methods, NinjaTrader blocks orders that could leave you with a bigger position than you planned. A typical case: a target or stop is still working and your strategy submits another non-market order to reverse the position.

On this page
  1. An example
  2. How to find the cause
  3. What you can change
  4. Source

An example

You have a 1-contract profit target working, and your strategy also wants to reverse with a limit order very close to that price. If both filled in quick succession, you could end up with more contracts than planned. That's why NinjaTrader ignores one of them.

What you submitIt's ignored if...
An entryA position is open and a non-market exit (such as ExitLongLimit()) is active and used to open a position in the opposite direction.
An entryA position is open and an order from SetStopLoss() or another Set method is active and used to open a position in the opposite direction.
An entryA position is open and you submit two or more entries together to reverse it. The second one is ignored.
An entryYou're flat and another entry, such as EnterLongLimit(), is active and used to open a position in the opposite direction.
An entryThe entry signal name isn't unique.
An exitA position is open and an entry, such as EnterLongLimit(), is active and used to open a position in the opposite direction.
An exitA position is open and an order from a Set method, such as SetStopLoss(), is active.
A Set methodA position is open and an entry is active and used to open a position in the opposite direction.
A Set methodA position is open and a non-market exit, such as ExitLongLimit(), is active.

How to find the cause

  1. Open the Log tab in the Control Center. That's where the message appears.
  2. Don't rely on the number of messages: to avoid excessive logging, NinjaTrader only reports the first order that breaks a rule. Later ones can be ignored with no message.
  3. Check which orders the strategy has working at that moment and compare each signal name: the rules apply per signal name.
  4. Check whether you're mixing SetStopLoss() or SetProfitTarget() with exits like ExitLongLimit(). That's one of the combinations that trigger the rules.

What you can change

On a prop firm account, don't remove a safeguard just to get an order through. These rules exist to prevent a bigger position than planned. Before you change anything, check your firm's contract limit and work out how many fit your drawdown.

If no orders go out at all, see the 11 causes of a strategy not placing orders. If only the second entry fails, see EntriesPerDirection and EntryHandling.

Want someone to review it? We check how your NinjaScript strategy submits and cancels orders.

Review from $90 Analyze NinjaTrader with AI

Source

Keep reading

Practise an evaluation, freeAll 91 articles →

Free: The Other Half Workbook. Nine templates for trading with a cool head: your one-page plan, the pre-session checklist, the twelve-patterns test, your size and the bill for your mistakes.

Get the free workbook

Get ready for 2027: the Trader Planner. Each day's US releases in New York time, your pre-market routine and a log for every session.

Paperback on Amazon, $16.99 Get the PDF, $9

Educational content based on the official NinjaTrader documentation. Not investment advice. Test any change on a simulation account before using it live.