Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure
Education11 min read

ATR indicator guide: what average true range is and how to use it for stop-loss placement

Learn the ATR indicator: what average true range means, the ATR formula, MT5 settings, ATR stop loss placement and position sizing, with examples.

ATR indicator below an EUR/USD H1 chart showing ATR(14) at 12 pips and a stop-loss level 1.5 × ATR below entry (example prices)
On this page
  1. What is ATR in trading?
  2. True range and the ATR formula
  3. Step 1: true range
  4. Step 2: average true range
  5. Worked example
  6. How to add the ATR indicator on MT5
  7. ATR settings
  8. How to read the average true range indicator
  9. ATR stop loss: how to place a stop with ATR
  10. Choosing an ATR multiplier
  11. Example: EUR/USD buy (H1)
  12. Position sizing with ATR
  13. Example: position sizing on EUR/USD
  14. Example: gold (H1)
  15. ATR trading strategy 1: ATR trailing stop
  16. Example: gold trend (H4)
  17. ATR trading strategy 2: volatility breakout filter
  18. ATR trading strategy 3: realistic targets
  19. ATR with other indicators
  20. Common ATR mistakes
  21. Practise the ATR indicator with Xellion

The ATR indicator answers one simple question: how much does this market usually move? ATR stands for average true range. It measures the average size of each candle over a set number of periods, including any gaps between candles. It does not tell you whether price will go up or down. It tells you how big the moves have been lately, which is exactly what you need to place a sensible stop-loss level and choose a lot size.

Many Indian beginners place stops at a fixed number of pips, such as 10 pips on every trade. The problem is that 10 pips on EUR/USD during a quiet Asian morning is very different from 10 pips on gold during a US data release at 7:00 pm IST. The average true range indicator adjusts to the market in front of you. This guide explains what ATR is in trading, the ATR formula with a worked example, how to add ATR on MT5, how to read it, and three practical ways to use it: ATR stop-loss placement, position sizing and an ATR trailing stop. All prices in this article are example prices.

What is ATR in trading?

ATR was developed by J. Welles Wilder and published in 1978, in the same book that introduced the RSI indicator. Wilder traded commodities, where prices often gapped from one day to the next. A normal high-minus-low range missed those gaps, so he created the true range.

The ATR indicator is plotted in a separate window below the chart as a single line. Its value is shown in the price units of the instrument:

InstrumentExample ATR(14) readingWhat it means
EUR/USD, H10.0012Average hourly range of about 12 pips
EUR/USD, D10.0065Average daily range of about 65 pips
Gold (XAU/USD), H18.00Average hourly range of about $8
Gold (XAU/USD), D142.00Average daily range of about $42

Because ATR is measured in price, you cannot compare the ATR of gold with the ATR of EUR/USD directly. You compare each market with its own past: is ATR higher or lower than it was last week?

FeatureATRRSI or Stochastic
What it measuresSize of moves (volatility)Momentum and position in a range
Direction signalNoneYes, overbought or oversold
ScalePrice units (pips, dollars)0 to 100
Main useStop-loss placement and position sizingEntry timing

True range and the ATR formula

Step 1: true range

For each candle, the true range is the largest of these three values:

  1. Current high minus current low.
  2. The absolute value of current high minus previous close.
  3. The absolute value of current low minus previous close.

If there is no gap, the true range is simply high minus low. If price gaps up or down, the true range stretches back to the previous close, so the gap is counted.

Step 2: average true range

The average true range is the average of the true range over N periods. The standard setting is 14. Wilder used his own smoothing method, in which each new value is (previous ATR × 13 + current true range) ÷ 14. The standard ATR on MT5 uses a simple moving average of the true range, so values can differ slightly from other platforms. Both versions are read in the same way.

Worked example

All figures are example figures for EUR/USD on the daily chart.

DayHighLowPrevious closeHigh – LowHigh – prev. closeLow – prev. closeTrue range
11.16501.15901.160060 pips50 pips10 pips60 pips
21.17001.16601.162040 pips80 pips40 pips80 pips
31.16801.16301.169050 pips10 pips60 pips60 pips

On day 2, price opened with a gap above the previous close. High minus low was only 40 pips, but the true range was 80 pips because the move from the previous close counts. A three-period ATR here would be (60 + 80 + 60) ÷ 3 = about 67 pips.

How to add the ATR indicator on MT5

ATR is a standard indicator on MetaTrader 5, so no download is needed.

  1. Open MT5 and log in to your account (server Xellion-Live). If you have not installed it yet, follow our MT5 download, login and setup guide for Android, iPhone, PC and web.
  2. Open a chart, for example EUR/USD on H1.
  3. Go to Insert → Indicators → Oscillators → Average True Range. On the mobile app, tap the indicator (f) icon and choose Average True Range.
  4. Keep the period at 14 to start. Click OK.
  5. The ATR line appears in a window below the chart. Hover over it, or open the Data Window, to see the current value.
  6. Save the chart as a template so ATR loads on every new chart.

On the Xellion app and WebTrader you can also follow open positions and adjust the stop-loss level you planned from ATR.

ATR settings

SettingEffectTypical use
ATR 7Reacts quickly to new volatilityShort-term intraday charts
ATR 14Standard balanceMost traders, most timeframes
ATR 20–21Smoother, slowerSwing trading on H4 and D1

Match the ATR timeframe to your trading timeframe. If you trade from the H1 chart, use H1 ATR for your stop-loss level. A daily ATR value on an H1 trade will give a stop that is far too wide.

How to read the average true range indicator

  • Rising ATR – candles are getting bigger. The market is more active, often after news or a breakout. Stops need more room.
  • Falling ATR – candles are getting smaller. The market is quiet or ranging. A breakout may come later, but ATR cannot say in which direction.
  • Very low ATR compared with recent weeks – a squeeze. Similar to narrow Bollinger Bands, a long quiet period is often followed by a bigger move.
  • ATR spike – one very large candle, usually a news release. ATR will stay higher for the next 14 periods until that candle drops out.

ATR also changes through the Indian trading day. On most forex pairs, ATR on M15 or H1 charts tends to be low during the early IST morning (Asian session), rise around the London open (about 1:30 pm IST in winter), and peak in the London–New York overlap (roughly 6:30 pm to 9:30 pm IST in winter). See our guide to forex market timings in IST.

ATR stop loss: how to place a stop with ATR

This is the most popular use of the ATR indicator. Instead of a fixed number of pips, the stop-loss level is set at a multiple of ATR away from entry or from a chart level.

Choosing an ATR multiplier

ATR multiplierStop distanceSuits
1 × ATRTightPrecise entries at clear levels; stopped out more often
1.5 × ATRModerateMany day traders on H1
2 × ATRWideSwing trades on H4 and D1
3 × ATRVery wideTrailing stops in strong trends

A common approach is to combine ATR with structure: place the stop beyond a swing low or support and resistance level, then add a buffer of 0.5 × ATR so normal noise does not touch it.

Example: EUR/USD buy (H1)

All prices are example prices.

  • EUR/USD pulls back to support at 1.1600 during the London session and prints a bullish engulfing candle that closes at 1.1612.
  • H1 ATR(14) reads 0.0012 (12 pips).
  • The trader uses a 1.5 × ATR stop: 1.5 × 12 = 18 pips.
ItemLevelCalculation
Entry1.1612Close of the engulfing candle
ATR(14), H112 pipsFrom the indicator
Stop-loss level1.15941.1612 – 18 pips
Target1.16482 × stop distance = 36 pips

The stop sits below the 1.1600 support with room for a normal hourly candle.

Position sizing with ATR

Once the stop distance is known, ATR helps you choose a lot size so that every trade has a similar planned loss, whether the market is quiet or busy.

The steps:

  1. Decide the most you are willing to lose on one trade, for example 1% of the account.
  2. Measure the stop distance using ATR.
  3. Lot size = planned loss ÷ (stop distance in pips × pip value per lot).

Example: position sizing on EUR/USD

All figures are example figures.

ItemValueCalculation
Account balance$1,000–
Planned loss per trade$101% of balance
Stop distance18 pips1.5 × ATR of 12 pips
Pip value, 1 standard lot$10EUR/USD, USD account
Lot size0.05 lot$10 ÷ (18 × $10) = 0.055, rounded down
Planned loss at 0.05 lot$918 pips × $0.50 per pip

If ATR doubles to 24 pips next week, the stop becomes 36 pips and the lot size falls to about 0.02 lot. The planned loss stays near $10. This is why ATR-based sizing keeps results more consistent. Our lot size and pip calculator guide explains pip values for other pairs.

Example: gold (H1)

  • Gold H1 ATR(14) reads $8. A 1.5 × ATR stop is $12.
  • On most MT5 accounts, 1 lot of gold is 100 ounces, so at 0.01 lot each $1 move is worth about $1.
  • A $12 stop at 0.01 lot is a planned loss of about $12, before costs. With a $1,500 account and a 1% limit ($15), 0.01 lot fits; 0.02 lot ($24) does not.

Leverage up to 1:2000 on Xellion lowers the margin needed to open a position, but it does not change what each pip is worth. Lot size decides that. See the leverage and margin calculator guide.

ATR trading strategy 1: ATR trailing stop

An ATR trailing stop follows price in a trend but keeps a distance that matches volatility. One well-known version is the chandelier exit:

  • For a buy: trailing stop = highest high since entry – 3 × ATR.
  • For a sell: trailing stop = lowest low since entry + 3 × ATR.

The stop only moves in your favour, never back. In a strong trend, the trade stays open as long as price does not pull back by more than three average candles.

Example: gold trend (H4)

All prices are example prices.

PointHighest highH4 ATRTrailing stop
Entry day$4,040$15$3,995
Day 2$4,075$16$4,027
Day 3$4,110$18$4,056
Day 4 (pullback)$4,110$17$4,059

On day 4, price pulls back to $4,055 and touches the trailing stop near $4,059. The trade closes with part of the trend captured.

ATR trading strategy 2: volatility breakout filter

ATR can confirm whether a breakout candle is meaningful.

  1. Mark a range or chart pattern, such as a triangle pattern.
  2. Wait for a candle to close outside it.
  3. Check the size of the breakout candle. If its range is larger than 1 × ATR, the breakout has real participation. If it is much smaller, many traders wait for a retest.

This simple ATR indicator strategy filters out many weak breakouts during quiet hours, such as the early IST morning.

ATR trading strategy 3: realistic targets

Daily ATR shows how far a market typically travels in a day. If EUR/USD has a daily ATR of 65 pips and has already moved 60 pips from the day's low by 8:00 pm IST, a further 50-pip target the same day is ambitious. Traders often scale back intraday targets once the day's range is close to the daily ATR. It is not a ceiling – trending days can exceed ATR – but it keeps expectations realistic.

ATR with other indicators

  • Momentum: ATR gives the stop; a stochastic oscillator or RSI can time the entry.
  • Trend: The Ichimoku cloud or a moving average gives direction; ATR sizes the trade.
  • Patterns: Traders who use harmonic patterns often place the stop a fraction of ATR beyond the pattern's completion zone.
  • Supertrend: The popular Supertrend indicator is built from ATR. It is not a standard MT5 indicator, but custom versions are available. Understanding ATR explains how Supertrend's bands are drawn.

Common ATR mistakes

MistakeWhat happensBetter approach
Using ATR as a bullish or bearish signalATR has no directionUse it for stop distance and sizing
Mixing timeframesStops too wide or too tightUse ATR from your trading timeframe
Keeping the same lot size when ATR risesLarger losses on volatile daysRecalculate lot size from the stop
Ignoring news spikesATR jumps for 14 periodsCheck the economic calendar
Stop exactly at 1 × ATR from entry with no structureNormal noise stops you outCombine ATR with swing levels

Remember that ATR is built from past candles. A sudden news release, such as US jobs data at about 7:00 pm IST in winter, can move price further than any recent ATR reading.

Practise the ATR indicator with Xellion

ATR is ready to use on MetaTrader 5 (server Xellion-Live), and you can follow positions on the Xellion app for iOS and Android or on WebTrader. A free demo account lets you test ATR stop-loss levels, trailing stops and position sizing with live prices and no real money.

When you are ready to go live:

  1. Choose an account on the accounts page: Standard (minimum $50), Raw (minimum $250) or Zero (minimum $750).
  2. Fund it on the funding page: UPI deposits are instant, from $50.
  3. Size every trade from the ATR stop, as shown above, before you place it.

Scalping is not permitted on Xellion accounts, so use ATR on timeframes that give trades room to develop, such as M30, H1 and H4.

CFDs are complex instruments and carry a high risk of losing money. Not investment advice.

What is ATR in trading?

ATR, or average true range, is a volatility indicator that shows the average size of candles over a set period, including gaps. It is measured in price units, such as pips or dollars, and does not show direction.

What is the best ATR setting?

The standard ATR setting is 14 periods, and it works well for most traders. A shorter period such as 7 reacts faster; a longer period such as 21 is smoother for swing trading.

How do I use ATR for a stop loss?

Multiply the current ATR by a factor such as 1.5 or 2 and place the stop that distance from your entry, or add part of ATR as a buffer beyond a swing level.

Does a high ATR mean price will go up?

No. A high ATR only means candles are large and the market is volatile. Price can be rising or falling.

Is the ATR indicator available on MT5?

Yes. Average True Range is a standard MT5 indicator under Insert, Indicators, Oscillators. No download is needed.

What is a good ATR multiplier?

Many day traders use 1.5 × ATR on H1 charts, swing traders often use 2 × ATR, and trailing stops commonly use 3 × ATR. Test what suits your strategy on a demo account first.

Can ATR help with lot size?

Yes. Divide the amount you plan to lose on the trade by the ATR-based stop distance multiplied by the pip value. When ATR rises, the lot size falls, keeping the planned loss similar.

This article is general information and education, not investment advice. CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage.

Ready to put it into practice?
Open an account in minutes, or practise on a free demo first.

Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Blog articles are general information and education, not investment advice. Risk disclosure