On this page
- What is ATR in trading?
- True range and the ATR formula
- Step 1: true range
- Step 2: average true range
- Worked example
- How to add the ATR indicator on MT5
- ATR settings
- How to read the average true range indicator
- ATR stop loss: how to place a stop with ATR
- Choosing an ATR multiplier
- Example: EUR/USD buy (H1)
- Position sizing with ATR
- Example: position sizing on EUR/USD
- Example: gold (H1)
- ATR trading strategy 1: ATR trailing stop
- Example: gold trend (H4)
- ATR trading strategy 2: volatility breakout filter
- ATR trading strategy 3: realistic targets
- ATR with other indicators
- Common ATR mistakes
- 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:
| Instrument | Example ATR(14) reading | What it means |
|---|---|---|
| EUR/USD, H1 | 0.0012 | Average hourly range of about 12 pips |
| EUR/USD, D1 | 0.0065 | Average daily range of about 65 pips |
| Gold (XAU/USD), H1 | 8.00 | Average hourly range of about $8 |
| Gold (XAU/USD), D1 | 42.00 | Average 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?
| Feature | ATR | RSI or Stochastic |
|---|---|---|
| What it measures | Size of moves (volatility) | Momentum and position in a range |
| Direction signal | None | Yes, overbought or oversold |
| Scale | Price units (pips, dollars) | 0 to 100 |
| Main use | Stop-loss placement and position sizing | Entry timing |
True range and the ATR formula
Step 1: true range
For each candle, the true range is the largest of these three values:
- Current high minus current low.
- The absolute value of current high minus previous close.
- 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.
| Day | High | Low | Previous close | High – Low | High – prev. close | Low – prev. close | True range |
|---|---|---|---|---|---|---|---|
| 1 | 1.1650 | 1.1590 | 1.1600 | 60 pips | 50 pips | 10 pips | 60 pips |
| 2 | 1.1700 | 1.1660 | 1.1620 | 40 pips | 80 pips | 40 pips | 80 pips |
| 3 | 1.1680 | 1.1630 | 1.1690 | 50 pips | 10 pips | 60 pips | 60 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.
- 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.
- Open a chart, for example EUR/USD on H1.
- Go to Insert → Indicators → Oscillators → Average True Range. On the mobile app, tap the indicator (f) icon and choose Average True Range.
- Keep the period at 14 to start. Click OK.
- The ATR line appears in a window below the chart. Hover over it, or open the Data Window, to see the current value.
- 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
| Setting | Effect | Typical use |
|---|---|---|
| ATR 7 | Reacts quickly to new volatility | Short-term intraday charts |
| ATR 14 | Standard balance | Most traders, most timeframes |
| ATR 20–21 | Smoother, slower | Swing 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 multiplier | Stop distance | Suits |
|---|---|---|
| 1 × ATR | Tight | Precise entries at clear levels; stopped out more often |
| 1.5 × ATR | Moderate | Many day traders on H1 |
| 2 × ATR | Wide | Swing trades on H4 and D1 |
| 3 × ATR | Very wide | Trailing 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.
| Item | Level | Calculation |
|---|---|---|
| Entry | 1.1612 | Close of the engulfing candle |
| ATR(14), H1 | 12 pips | From the indicator |
| Stop-loss level | 1.1594 | 1.1612 – 18 pips |
| Target | 1.1648 | 2 × 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:
- Decide the most you are willing to lose on one trade, for example 1% of the account.
- Measure the stop distance using ATR.
- Lot size = planned loss ÷ (stop distance in pips × pip value per lot).
Example: position sizing on EUR/USD
All figures are example figures.
| Item | Value | Calculation |
|---|---|---|
| Account balance | $1,000 | – |
| Planned loss per trade | $10 | 1% of balance |
| Stop distance | 18 pips | 1.5 × ATR of 12 pips |
| Pip value, 1 standard lot | $10 | EUR/USD, USD account |
| Lot size | 0.05 lot | $10 ÷ (18 × $10) = 0.055, rounded down |
| Planned loss at 0.05 lot | $9 | 18 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.
| Point | Highest high | H4 ATR | Trailing 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.
- Mark a range or chart pattern, such as a triangle pattern.
- Wait for a candle to close outside it.
- 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
| Mistake | What happens | Better approach |
|---|---|---|
| Using ATR as a bullish or bearish signal | ATR has no direction | Use it for stop distance and sizing |
| Mixing timeframes | Stops too wide or too tight | Use ATR from your trading timeframe |
| Keeping the same lot size when ATR rises | Larger losses on volatile days | Recalculate lot size from the stop |
| Ignoring news spikes | ATR jumps for 14 periods | Check the economic calendar |
| Stop exactly at 1 × ATR from entry with no structure | Normal noise stops you out | Combine 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:
- Choose an account on the accounts page: Standard (minimum $50), Raw (minimum $250) or Zero (minimum $750).
- Fund it on the funding page: UPI deposits are instant, from $50.
- 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.



