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 Strategy Position Out of Sync With Account?

Why your strategy position doesn't match your account and what each Start Behavior option does, based on the official NinjaTrader 8 guide.

They are two different positions. The strategy position is virtual and comes from the strategy's own entries and exits; the account position is what you really hold. They usually split when you start a strategy mid-session, and the Start Behavior setting decides what happens at that moment.

On this page
  1. The typical case: starting mid-session
  2. Other causes of the gap
  3. The five Start Behavior options
  4. Four warnings from the official guide
  5. Before you enable a strategy
  6. Sources

The typical case: starting mid-session

When enabled, the strategy runs through the chart's historical bars to work out what position it would hold. If it would have bought 1 contract and still be in that trade, its position is long 1, but your account is flat because that order was never sent. If they aren't synced, the sell order that closes its position will leave your account short: the strategy thinks it is exiting while it actually opens a trade the other way.

Other causes of the gap

The five Start Behavior options

OptionWhat it doesWhen to use it
Wait until flatThe default. If the strategy isn't flat, it trades virtually until it is. It then goes live and assumes the account matches.When your account is already flat at start.
Wait until flat, synchronize accountIf the account isn't flat, it sends market orders to flatten it, then waits for the strategy to be flat too.To start from flat with little intervention.
Immediately submitStarts trading right away and assumes the account matches the strategy.Only when you're sure your account is where it should be.
Immediately submit, synchronize accountStarts right away and sends market orders so the account matches the strategy.To trade at once without worrying about the prior position.
Adopt account positionIgnores the historical virtual position and starts with the real account position.Only if the strategy is programmed for it.

Four warnings from the official guide

If you can't see Adopt account position, your install isn't broken: the strategy wasn't programmed to handle account positions. The developer must set IsAdoptAccountPositionAware to true and prepare the code for it.

Before you enable a strategy

  1. Check your real position on that instrument and any active orders.
  2. Check what position the strategy shows when enabled.
  3. Pick the Start Behavior from the table, not out of habit.
  4. Avoid manual trades on that instrument while the strategy runs.
  5. Test the start on Sim101 with the session already under way.

On a prop firm account it can cost you the account. An unexpected position, or a market order sent at start, uses up drawdown like any other trade. Before automating, review why a strategy doesn't place orders and check your firm's limits.

Want someone to review it? We check how your NinjaScript strategy starts and what it does with the account position.

Review from $90 Analyze NinjaTrader with AI

Sources

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.