ATR Stops and Position Sizing: Building a Risk Block You Can Explain
What the Average True Range measures, why volatility-relative stop distances are easier to reason about than fixed point distances, and how the distance to invalidation determines position size.
Of everything in a rule-based strategy, risk is the part you control most directly. Entry logic produces a suggestion; the risk block decides how much of your account is exposed to it. This guide covers the two ideas that belong together: measuring stop distance in volatility units with ATR, and deriving position size from that distance.
Key takeaways
- A stop distance and a position size are two halves of one decision, not two separate settings.
- ATR expresses recent volatility, which makes stop distances comparable across symbols and across quiet and busy periods.
- Position size follows from the distance to your invalidation point, not from how confident you feel.
- Limits such as a maximum daily loss or a maximum number of open positions are rules like any other, and belong inside the strategy.
- Sizing distributes risk; it does not remove it. Backtests describe the past and are not predictions.
What is the Average True Range?
The Average True Range is a volatility measure built from the true range of each bar. The true range of a bar is the largest of three values: the distance between that bar's high and low, the distance between its high and the previous close, and the distance between its low and the previous close. The second and third options exist to account for gaps between bars.
ATR is then a moving average of those true ranges over a chosen number of bars. That number is a parameter — ATR(14) and ATR(20) are common conventions, but the choice is yours and it changes what the value represents. A short look-back reacts quickly to a change in conditions; a long one changes slowly and reflects a broader period.
Two properties matter for building rules. First, ATR is a measure of range, not of direction: a high ATR tells you bars have been large, not which way they went. Second, it is denominated in price units, which means it can be compared directly with the price distance of a stop.
Why use ATR for stop distances?
A stop written as a fixed number of points means very different things on different symbols, and even on the same symbol in different conditions. On a quiet market, a fixed stop may sit far outside the normal range of movement and rarely be reached; on a volatile one, the same distance can sit well inside ordinary noise and be reached almost immediately.
Expressing the distance as a multiple of ATR does something more modest and more useful: it keeps the stop proportionate to the market's recent behaviour. When conditions calm, the distance contracts. When conditions expand, it widens. That does not make the stop correct — nothing does — but it makes the rule self-consistent, and it makes it portable across symbols without being rewritten for each one.
It also makes your parameter meaningful when you read it back later. A rule that says stop distance = k × ATR tells a reader exactly how the stop was set. A rule that says stop distance = 250 points tells a reader nothing about the market it was written for.
How does stop distance become position size?
The relationship is a division, and it is the reason the two ideas belong in the same article:
risk amount = account equity x chosen risk fraction
position size = risk amount / stop distance per unitRead it in one direction and it is a formula; read it in the other and it is a discipline. You choose how much you are willing to lose on a single trade as a fraction of the account. You derive the stop from the structure and from ATR. The size is then whatever makes those two numbers agree — it is the output of the other two decisions, not an independent preference.
In Lupuso the risk block holds these as inputs: the risk fraction, the stop definition and its ATR multiple. Because the variables and constants window turns each threshold into an EA input, you can review the relationship later without reading the exported code.
One practical detail deserves attention: platforms trade in discrete lot sizes with a minimum and a step. The calculated size usually cannot be executed exactly, so the executed risk will differ slightly from the intended risk. Rounding down keeps actual risk at or below the intended level; rounding to nearest can exceed it. That single choice is part of your risk rule.
What belongs inside a risk block?
A risk block is more than a stop and a size. The parts that tend to save people from their own worst days are the ones that limit continued exposure:
- Risk per trade, as a fraction of equity or a fixed amount.
- Stop definition, including how the ATR multiple is applied and on which bar it is measured.
- Maximum open positions, so that several signals cannot stack into one large exposure.
- Maximum daily loss, after which no new trades are opened.
- Maximum consecutive losses, with the same consequence.
- A review date or condition, so the strategy has a scheduled moment of human attention.
Note what the last three have in common: they are rules about when to stop, not about when to enter. In a builder they are just blocks like any other, which means they can be tested and inspected rather than kept in your head.
How does drawdown fit in?
Drawdown is the decline of account equity from a previous peak. In a backtest report it is a descriptive statistic about the period tested: it tells you how deep the equity path went before recovering, under the fills and costs the simulator used.
What it is not is a guarantee about the future. The deepest drawdown in a historical run is not an upper bound; a rule can behave worse on data it has never seen, and a longer or different period can produce a deeper decline. The honest use of a drawdown figure is as a description to compare against your limits: if a tested period shows a decline larger than what you have decided you can absorb, that is information about the rule and about your limits, not a reason to assume the next period will be the same.
Does a wider stop make a strategy safer?
No, and this is the most common reasoning error in this area. A wider stop with the same position size puts more money at risk per trade, not less. The pairing has to move together: if the distance grows and the risk per trade stays fixed, the size must shrink. Any change to the stop definition should be followed by re-reading the size formula.
The same logic applies in reverse. Tightening a stop without reducing size reduces the distance to invalidation while keeping the exposure constant, which changes the character of the strategy rather than improving its safety.
Common mistakes
- Choosing a position size first and fitting a stop to it afterwards.
- Ignoring lot rounding, so the executed risk is silently different from the intended risk.
- Changing a stop distance without recalculating size.
- Measuring ATR on a different bar from the one used for the entry decision, which introduces a look-ahead.
- Leaving the daily loss limit or the maximum open positions out of the strategy because "you will watch it".
- Reading the deepest historical drawdown as the worst case that can occur.
- Testing with fills and costs more favourable than the platform will actually provide.
Risk note
Every position opened by a rule-based strategy can lose money, and no sizing formula prevents that. ATR-based stops make a distance consistent and explainable; they do not make a trade more likely to succeed. Backtests describe one period under one set of assumptions, and drawdown figures in them are not upper bounds on future decline. Trading carries a real risk of loss, including the loss of the entire account if risk limits are absent or unenforced. Decide the risk fraction, the maximum daily loss and the conditions for stopping before anything runs, keep them inside the strategy so they are visible and inspectable, and treat every historical result as a description to examine rather than as an expectation to rely on.
English · Español · Français · Deutsch · Português · 中文 · العربية · हिन्दी · 9 supported locales
