What does ATR Ordering do?
Market volatility does not stay constant. A Stop distance that fits one market condition can become too tight when volatility expands or unnecessarily wide when volatility contracts.
The challenge is that adjusting the Stop is only one part of the equation. Once Stop distance changes, position size must also change if the trader wants to keep dollar risk within the same predefined limit. The Target then needs to adjust again if the trade is meant to maintain a consistent Reward:Risk ratio.
Doing this manually at every entry means checking ATR, converting volatility into Stop distance, calculating dollar risk per contract, accounting for commission, determining position size, and then calculating the corresponding Target – all while the market is moving.
ATR Ordering automates that execution process for NinjaTrader 8.
At the moment an order fills, it reads the current ATR and uses three settings defined by the trader:
-
ATR Multiplier – determines the Stop distance relative to current volatility
-
Reward:Risk – determines the Target distance relative to the Stop
-
Max Loss per Trade – defines the maximum dollar risk allocated to the trade
From those inputs, ATR Ordering automatically calculates the Stop, Target, and contract quantity for the filled trade.
How can ATR Ordering improve your trading workflow?
-
Adapt Stop distance to current market volatility instead of relying on the same fixed tick distance in every condition
-
Adjust position size automatically as the Stop expands or contracts
-
Keep calculated trade risk within a predefined dollar limit rather than maintaining a fixed contract count
-
Maintain the planned Reward:Risk relationship as Stop distance changes
-
Include commission in position-sizing calculations for a more complete estimate of trade risk
-
Apply the same risk framework to both Market Orders and Pending Orders
-
Reduce the manual calculations required between identifying a trade and executing it
-
Allow Pending Orders to complete their initial Stop, Target, and sizing calculations when they fill, even when the trader is away from the screen
Key features
1. ATR-based dynamic Stop – adapt Stop distance to current volatility
-
Reads the current ATR when the order actually fills
-
Calculates Stop Distance using the trader-defined ATR Multiplier
-
Uses the formula:
Stop Distance = ATR × ATR Multiplier
-
Automatically recalculates the required distance as volatility changes from one trade to another
-
Avoids relying on a fixed Stop distance that may represent very different levels of market volatility under different conditions
For example, if ATR expands, the Stop can widen accordingly. If ATR contracts, the calculated Stop becomes tighter.
The objective is not to keep Stop distance constant, but to keep the Stop logically connected to the volatility present at execution.
2. Max Loss position sizing – let contract quantity adapt to the Stop
Changing Stop distance without changing position size also changes the dollar amount at risk.
ATR Ordering connects the two automatically.
-
Converts the calculated Stop distance into dollar risk per contract
-
Accounts for commission in the risk calculation
-
Compares that amount with the trader's predefined Max Loss
-
Calculates the number of contracts that can fit within the available risk budget
-
Rounds contract quantity down when necessary to remain within the predefined limit
The basic logic becomes:
Fixed Risk Budget → Volatility-based Stop → Adaptive Contract Size
When volatility is lower and the Stop is tighter, more contracts may fit within the same risk budget.
When volatility rises and the Stop becomes wider, contract quantity is reduced accordingly.
3. Dynamic Reward:Risk Target – keep the planned R:R relationship intact
Once the Stop has been calculated, ATR Ordering automatically derives the Target from the Reward:Risk value defined by the trader.
The calculation follows:
Target Distance = Stop Distance × Reward:Risk
For example, if the calculated Stop is 20 ticks and the trader has selected a 1:3 Reward:Risk ratio, the initial Target is automatically placed 60 ticks from Entry.
This allows the Target to adapt together with the Stop rather than requiring the trader to recalculate the price objective after every volatility change.
4. Three connected calculations at every fill
ATR Ordering brings three normally separate execution decisions into one synchronized process:
01. Stop from ATR
Current volatility determines the initial Stop distance according to the selected ATR Multiplier.
02. Target from Reward:Risk
The calculated Stop determines how far the initial Target should be placed.
03. Position Size from Max Loss
Stop distance, dollar value per contract, and commission determine how many contracts fit within the trader's predefined risk limit.
The result is one connected risk model:
Current ATR → Stop Distance → Risk per Contract → Position Size → Target
Instead of solving each part independently, the calculations remain linked to the same trading plan.
5. Fill-time calculation – use volatility when the trade actually executes
For Pending Orders, volatility at the time the order is submitted may be different from volatility when price eventually reaches the Entry.
ATR Ordering performs its calculation when the order fills rather than relying only on the conditions that existed when the Pending Order was originally placed.
This means:
-
The Stop uses the ATR available at execution
-
Position size reflects that actual Stop distance
-
The Target is calculated from the resulting Stop
-
The complete initial risk structure is created when the trade becomes active
This is particularly useful for traders who prepare entries in advance and cannot remain at the screen waiting for every fill.
6. Market Order & Pending Order workflow
ATR Ordering can apply the same risk framework whether the trader enters immediately or prepares an order in advance.
For Market Orders, the calculations are performed as the trade is executed.
For Pending Orders, the order can remain in place until price reaches the Entry. Once filled, ATR Ordering calculates the volatility-based Stop, position quantity, and Target using the conditions present at that time.
This allows traders to standardize the initial execution process without requiring the same manual calculations each time an entry is triggered.
7. Commission-aware risk calculation
Position sizing based only on Stop distance can underestimate the amount actually lost when the Stop is reached because transaction costs are not included.
ATR Ordering incorporates commission into its position-sizing calculation.
The contract count is determined from:
Max Loss ÷ (Loss per Contract + Commission per Contract)
with the result rounded down when necessary.
This helps the calculated trade risk remain closer to the trader's intended Max Loss rather than treating commission as an unrelated cost outside the risk model.
8. Standardize entry risk without controlling the entire trade
ATR Ordering is designed to standardize the trade's initial risk structure, not dictate how every position must be managed afterward.
At Entry, it establishes:
-
Initial Stop
-
Initial Target
-
Position Size
-
Risk allocation
After the trade is active, traders can still manage positions according to their own workflow, including approaches such as Scale Out, Trailing Stops, or multiple Targets where their setup supports them.
In other words:
ATR Ordering standardizes Entry Risk. Trade Management remains yours.
9. A three-parameter execution model
Despite performing multiple calculations, ATR Ordering requires only three primary decisions from the trader before execution:
-
ATR Multiplier: How much volatility should determine the Stop distance?
-
Reward:Risk: How far should the initial Target sit relative to the Stop?
-
Max Loss per Trade: How much dollar risk can the trade consume?
Once these parameters are defined, ATR Ordering handles the corresponding execution calculations automatically whenever a qualifying order fills.
This separates trading-plan decisions from execution math: the trader defines the risk rules, while the tool applies those rules consistently as market volatility changes.
10. Documentation & support
ATR Ordering includes resources to help traders integrate the tool into their NinjaTrader 8 workflow.
-
Step-by-step guidance for installation and setup
-
Educational material explaining how the ATR-based risk model works
-
Live execution examples demonstrating how Stops, Targets, and position size adjust under changing market conditions
-
Support through email and remote assistance when additional setup help is needed
-
Future software updates and upgrades included with the product