Free trials available for all licensed products.  Browse tools & start free trial → New: PAT Trade Suite 1.0 →
NinjaTrader ATM strategy on the chart: the stop loss and two profit targets of a 3-contract buy, with their distance and dollar risk
Resources / NinjaTrader ATM Strategy: How to Set Up Stops, Targets, Breakeven and Trailing

NinjaTrader ATM Strategy: How to Set Up Stops, Targets, Breakeven and Trailing (NT8 Guide)

A NinjaTrader ATM strategy places your stop loss and profit target the moment your entry fills, then manages them for you. Set it up once, save it as a template, and every trade gets the same brackets, with an optional breakeven move and trailing stop. This guide walks through creating an ATM strategy in NinjaTrader 8, what each setting does, how Auto Breakeven and Auto Trail work, and the mistakes that catch most traders the first time.

See PAT Chart Trader

Short version: pick <Custom> in the ATM Strategy list, set your Stop Loss and Profit in ticks, add a Stop Strategy if you want breakeven or trailing, then click Save as Template. From then on, choose that template before you enter and NinjaTrader places and manages the brackets on every fill. Keep the order quantity equal to the total of your target quantities.

What Is a NinjaTrader ATM Strategy?

ATM stands for Advanced Trade Management. A NinjaTrader ATM strategy is a saved set of exit rules that NinjaTrader 8 applies to a position as soon as your entry order is partially or completely filled. A typical one holds:

  • a stop loss a set distance from your average entry price,
  • one or more profit targets, each with its own quantity,
  • optional stop automation: moving the stop to breakeven, or trailing it as the trade moves in your favor.

Your NinjaTrader stop loss and target are linked as OCO (one cancels other), so when one fills the other is cancelled. A NinjaTrader ATM strategy is discretionary trade management, not automated trading: you still decide when and where to enter. NinjaTrader just handles the exits the way you defined them, every time.

Where You Choose an ATM Strategy

Every NinjaTrader order entry window (Chart Trader, the SuperDOM and the Basic Entry window) has an ATM Strategy drop-down, where you pick the NinjaTrader ATM strategy for your next order. Its entries mean:

  • <None>: the order is not linked to any ATM strategy. It fills and nothing else happens, so no NinjaTrader stop loss or target is placed.
  • <Custom>: opens the Custom Strategy Parameters window so you can define a strategy on the spot.
  • Saved templates: load a strategy you saved earlier, such as “8 Tick 1 Target”.
  • Active strategies: ATM strategies already managing a live position, marked with a lightning bolt. Choosing one applies your next order to that strategy instead of starting a new one.

How to Create a NinjaTrader ATM Strategy Template (Step by Step)

This follows NinjaTrader’s own first ATM tutorial: a one-contract trade with a 4-tick stop and an 8-tick target.

  1. Set the order quantity to 1 in your order entry window.
  2. Select <Custom> from the ATM Strategy list. The Custom Strategy Parameters window opens.
  3. Set Stop Loss to 4 (ticks).
  4. Set Profit to 8 (ticks).
  5. Click Save as Template, name it (for example “8 Tick 1 Target”) and click Save.

Your NinjaTrader ATM strategy template now appears in the ATM Strategy list of your order entry windows. Choose it, place your entry, and when the order fills NinjaTrader submits the target 8 ticks and the stop 4 ticks from your fill price. An active strategy named “8 Tick 1 Target – 1” then shows in the list while it manages the position.

To rename or remove a template later, right-click it in the ATM Strategy list.

ATM Strategy Settings Explained

The Custom Strategy Parameters window has more settings than most traders need on day one. Here is what each one does:

  • Order quantity: the size of the entry order, taken from your order entry window.
  • TIF: the time in force used for the entry, profit target and stop loss orders.
  • Parameter type: the unit for stops and targets: Ticks, Price, Currency, Percent or Pips. Ticks is the simplest and works with every stop strategy feature.
  • Stop Loss and Profit: the distance from your average entry price for the NinjaTrader stop loss and the profit target.
  • Quantity (per target row): how many contracts that stop and target pair covers.
  • Stop Strategy: the breakeven and trailing rules for that stop (covered below).
  • Add / Remove: adds or removes target rows, for as many targets as you need.
  • More: advanced options: Shadow Strategy, Auto Reverse and Auto Chase.

Want two or three targets in one NinjaTrader ATM strategy, for example taking part of the position off early and leaving a runner? That is the Add button plus per-row quantities. We cover it step by step in how to set multiple profit targets in NinjaTrader 8. Once a multi-target ATM is running, PAT Trade Manager labels each working stop and target on the chart (T1, T2, S1, S2) with its distance from entry and its dollar value, right beside NinjaTrader’s own order tags.

Auto Breakeven and Auto Trail: The Stop Strategy

A Stop Strategy lets a NinjaTrader ATM strategy adjust your stop as the trade develops. In the Stop Strategy list under a target row, choose <Custom> (or a saved stop strategy template) to open its settings. Stop strategies work in ticks: Currency and Price parameter types can’t be used here.

Auto Breakeven

  • Profit trigger: how far the trade must move in your favor before the stop moves to breakeven.
  • Plus: an offset added to breakeven, so the stop can lock in a few ticks instead of exactly your entry.

Example (NinjaTrader’s own): long ES at 1000, Profit trigger 8 ticks, Plus 0. When ES trades 1002, the stop moves to 1000 and the change is written to the Log tab.

Auto Trail

  • Profit trigger: the profit needed before trailing starts.
  • Stop loss: how far behind price the stop trails.
  • Frequency: how often the stop moves once trailing is active.
  • Steps: up to three, each with its own trigger, distance and frequency, so the trail can tighten as profit grows.

Example: long ES at 1000, Profit trigger 4 ticks, Stop loss 6 ticks, Frequency 2 ticks. At 1001 the stop jumps to 999.50, then moves up 2 ticks for every further 2 ticks of profit. A second step can tighten it, for example to a 3-tick trail moving 1 tick at a time once the trade is 10 ticks in profit.

Save your favorite combination as a stop strategy template, so you can reuse it in any NinjaTrader ATM strategy instead of re-entering the numbers.

Auto Chase for Limit Orders

Auto Chase (under More) moves a limit order toward the market when price runs away from it, up to a Chase limit you set. Chase adjusts the entry on every tick, Chase if touch only starts after your limit price has traded, and Target chase applies the same touch-based behavior to profit targets. It’s useful when you would rather get filled a little worse than miss the trade entirely, and it can also be switched on for a single working order from its right-click menu.

Adding to a Position: ATM Strategy Selection Mode

What happens when you add contracts to a trade that already has a NinjaTrader ATM strategy depends on a setting in the order entry window’s Properties (right-click):

  • Select active ATM strategy on order submission (the default): after your first entry, the list switches to the new active strategy. Add another contract and the existing stop and target grow to cover the new total size.
  • Keep selected ATM strategy template on order submission: the template stays selected, so every new fill gets its own separate stop and target based on that fill’s price.
  • Display selected ATM strategy only: an advanced mode for running several strategies in one market. The SuperDOM then shows only the selected strategy’s orders, which means orders outside it are hidden, so use it with care.

Neither of the first two is “right”. Pick the one that matches how you scale in, and check it before you trade live.

The same templates also drive automated entries. For example, Next Bar Entry places breakout, retracement or market entries on the next confirmed bar and takes your account, quantity and ATM template from Chart Trader, so every automated entry gets the same brackets as a manual one. The comparison of Next Bar Entry and close-bar entry orders explains when each fits.

Common NinjaTrader ATM Strategy Mistakes

  • Order quantity doesn’t match the target quantities. With two target rows of 1 contract each, enter 2 contracts. Keep the entry size equal to the total of the rows.
  • Trading with <None> selected. The order fills with no NinjaTrader stop loss and no target. Check the ATM list before every session, especially after switching charts or instruments.
  • Using Price or Currency with a stop strategy. Auto Breakeven and Auto Trail work in ticks. Build any strategy that uses them in ticks.
  • Being surprised when adding contracts. Depending on the selection mode, an add either resizes your current brackets or creates a second set. Know which one you have set.
  • Expecting a new template to change a running trade. Choosing a different template affects your next entry. The active strategy keeps managing the open position with its own stop and target.
  • Relying on the ATM alone for risk. An ATM strategy protects one trade, not your day. Account-level limits such as a daily loss limit, a drawdown rule or a max contracts limit in NinjaTrader sit on top of it. PAT Risk Manager enforces those automatically, and its documentation covers how each limit works.
  • Skipping the sim test. Place a few trades with a new NinjaTrader ATM strategy template on a simulation account (such as Sim101) and watch the stop and target appear, move to breakeven and trail, before using it live.

Using ATM Strategies With PAT Chart Trader

Full disclosure: we build PAT Chart Trader, a chart trading panel for NinjaTrader 8. Its ATM box is NinjaTrader’s own ATM selector, so everything in this guide works the same way: <None>, <Custom> and your saved templates, with your stops and targets managed by NinjaTrader exactly as above.

What the panel adds is speed and visibility around those ATMs:

  • ATM presets (Pro): a row of buttons, each holding one of your ATM templates (see ATM presets in the PAT Chart Trader docs). One click switches the ATM and the quantity together, so moving from a 1-contract scalp to a 3-contract runner setup is a single click. A preset never sends an order by itself.
  • Order preview (Pro): hover over Buy or Sell to see the entry, the ATM’s stop and targets, and the risk and reward on the chart before you click (for ATMs set in ticks).
  • One-click B/E: moves your NinjaTrader ATM strategy stop to break-even once price is past your entry, without opening the stop strategy settings.
  • Size-labelled buttons and pre-send risk checks: the buttons show exactly what will be sent, and with PAT Risk Manager each order is checked before it goes out.
NinjaTrader ATM strategy presets in PAT Chart Trader: three saved ATM templates as one-click buttons
NinjaTrader ATM strategy stop moved to break-even with one click on an open short position in PAT Chart Trader

A free trial unlocks Pro, so you can try ATM presets with your own templates on a sim account.

See PAT Chart Trader
Browse All NinjaTrader Tools

NinjaTrader ATM Strategy FAQ

Does an ATM strategy work on a sim account?

Yes. A NinjaTrader ATM strategy works the same on simulation and live accounts, which is why testing a new template on a sim account first is the best way to confirm it behaves as you expect.

Can I change the stop or target after the trade is open?

Yes. Drag the order on the chart or in the SuperDOM, and the ATM strategy keeps managing it from the new price.

What’s the difference between an ATM strategy and a NinjaScript strategy?

An ATM strategy manages the exits of a trade you entered yourself. A NinjaScript strategy is code that can make the entry decisions too, like our Advanced Second Entry Strategy. For discretionary traders, ATM strategies give consistent stops, targets and trailing with no coding.

How many profit targets can an ATM strategy have?

As many as you need: click Add in the Custom Strategy Parameters window for each extra target row, and give each row its own quantity, stop and target.

Sources Reviewed

← Back to Resources