Tested on IC Markets XAUUSD data only. Results and session behavior may differ on other brokers’ data.
Watch the lesson
Trending or Ranging? Reading Volatility with the Last Closed 4H ATR (11:24). Also on the free lessons page, with chapters. Education only. The video explains how the rules work; it is not personal advice.
Why equal-risk sizing matters
Suppose you trade EURUSD and gold with the same position size. Gold's typical daily range is many times larger in money terms, so a normal day of noise on gold costs far more. Your results end up dominated by whichever market happens to be most volatile, not by your decisions. Sizing from the stop distance removes that distortion.
The formula
- Risk amount = account size × risk percent. Example: $10,000 × 0.5% = $50.
- Stop distance = multiplier × ATR. Example: 1.5 × ATR.
- Value per unit of price per lot: depends on the instrument (see below).
- Position size = risk amount ÷ (stop distance × value per unit per lot).
Round down to your broker's minimum step. Rounding up quietly risks more than you chose.
Worked example 1: EURUSD (illustrative)
- Account $10,000, risk 0.5% = $50.
- Last closed 4-hour ATR = 0.0028 (28 pips). Stop = 1.5 × 28 = 42 pips.
- On a standard lot of 100,000 EUR, one pip is worth about $10.
- Position = $50 ÷ (42 × $10) = 0.119 lots. Round down to 0.11 lots.
Worked example 2: Gold, XAUUSD (illustrative)
- Same $50 risk.
- Last closed 4-hour ATR = 24.00 (in dollars of gold price). Stop = 1.5 × 24.00 = 36.00.
- On a 100-ounce lot, a $1.00 move is worth $100 per lot.
- Position = $50 ÷ (36.00 × $100) = 0.0139 lots. Round down to 0.01 lots, the usual minimum. If even the minimum size risks more than you planned, the honest answer is a smaller account risk is not available on this stop, so pass or use a closer, still-meaningful stop.
Check your broker's contract size; 100 ounces per lot is common but not universal. Our gold pip value guide covers the gold arithmetic in detail.
Worked example 3: an index CFD (illustrative)
- Same $50 risk. ATR = 60 points. Stop = 1.5 × 60 = 90 points.
- Suppose your broker values one point at $1 per contract.
- Position = $50 ÷ (90 × $1) = 0.55 contracts, rounded down to your broker's step.
Three very different markets, three very different sizes, the same $50 at risk if the stop is hit (before spreads, slippage and gaps).
What ATR sizing does and doesn't protect against
- It does keep the planned loss similar across markets and over time.
- It doesn't protect against gaps. A weekend gap can open beyond your stop; the loss can exceed the planned amount.
- It doesn't account for correlation. Three EUR-based pairs at 0.5% each behave more like one 1.5% position.
- It doesn't make an idea better. It only makes the cost of being wrong predictable.
Choosing the risk percent
Education resources commonly mention 0.25% to 1% per idea for discretionary trading. The right number depends on your circumstances, which is why this is general information, not advice. A useful sanity check: work out what ten losses in a row would do to your account, because streaks like that happen even to sound processes. Our risk-reward guide shows the related arithmetic.
Common mistakes
- Sizing first, then choosing a stop that fits the size. Do it the other way round.
- Using a live ATR that changes between planning and entry.
- Forgetting the instrument's value per unit, especially on gold and indices.
- Rounding up.
- Ignoring spread: on a tight stop, the spread can be a meaningful part of the risk.
Speeding it up
Smart MACD shows the last closed 4-hour ATR and the reference stop distance as both a price and a percentage, which is the input you need for the sizing formula. The size itself depends on your broker's contract specifications, so the final step stays with you.
Frequently asked questions
What is ATR position sizing?
Sizing each position so that the money lost if the stop is hit stays about the same, using an ATR-based stop distance. Volatile markets get smaller positions.
What is the formula for ATR position sizing?
Position size = risk amount ÷ (stop distance × value per unit of price per lot), where the stop distance is a multiple of ATR.
Does ATR position sizing work for gold?
Yes. Use gold's ATR in dollars of price and the contract value per $1 move, commonly $100 per 100-ounce lot. Check your broker's contract size.
Should I round position size up or down?
Down. Rounding up increases risk beyond what you planned.
Does position sizing protect against gaps?
No. A gap can open beyond the stop, so the loss can exceed the planned amount.
Keep reading
ATR stop loss: how to size a stop by volatility
How an ATR stop loss works: the formula, choosing a multiplier, combining ATR with structure, and why a 4-hour ATR is steadier than the chart's own.
Risk-reward ratio: the math, the break-even win rate and the limits
How to calculate risk-reward ratio, the break-even win rate for 1:1, 1:2 and 1:3, why R-multiples help, and why a big ratio on paper can mislead you.
Gold pip value and lot size: the XAUUSD arithmetic, explained
What a pip is on XAUUSD, what a $1 move is worth per lot, and how to size a gold position from your stop distance, with worked examples and a checklist.
More in ATR and volatility sizing, or browse all guides by topic. Questions? Email contact@brainiosoftware.com.
Tested on IC Markets XAUUSD data only.
General information only. This guide is general education, not personal financial product advice or a recommendation to buy or sell anything. Indicator readings, alerts and screener results are not trade recommendations. Examples use illustrative numbers. TradingView is a third-party platform; we are not affiliated with or endorsed by TradingView. Education only. Not financial advice. Trading involves risk of loss. Read the full risk disclaimer.