Average True Range (ATR): Calculation, Examples, And Uses
Summary:
The Average True Range (ATR) is a key volatility indicator in technical analysis, designed to measure the degree of price movement in an asset over a specified time frame. It provides traders with insights into market conditions, helping them gauge how much an asset typically fluctuates on a day-to-day basis. Created by J. Welles Wilder Jr., ATR measures the degree of price movement, helping traders anticipate potential price fluctuations in various securities like stocks, commodities, and indices.
What is the average true range (ATR)?
Understanding the ATR indicator
The Average True Range (ATR) is an indicator that traders use to measure volatility in a security. It gives a sense of how much the price of an asset fluctuates within a given period. Typically, the ATR is calculated over a 14-day period but can be adapted for longer or shorter timeframes depending on a trader’s preferences. Wilder initially developed this tool for commodities markets, but it’s now widely used in all asset classes, including stocks, indices, and forex.
ATR is especially useful for identifying periods of high volatility and low volatility. A higher ATR suggests greater price movement, while a lower ATR signals reduced price swings.
How does the average true range work?
ATR works by calculating the true range (TR) for a set of periods. The true range is the highest value among three metrics:
- The difference between the current high and the current low
- The absolute value of the difference between the current high and the previous close
- The absolute value of the difference between the current low and the previous close
Once you determine the true range for each period, the ATR is the moving average of these true range values over a set number of days (usually 14).
How to calculate the average true range
The ATR formula
The formula for calculating average true range is straightforward but requires careful attention to historical price data. To calculate the true range (TR) for each day, use the following formula:
Where:
- High: Today’s highest price
- Low: Today’s lowest price
- Previous Close: Yesterday’s closing price
- Max: The highest value of the three terms
Once the true range (TR) is determined for each day, the next step is to calculate the ATR. If you already have a previous ATR value, the formula is:
Where:
- n: The number of periods (typically 14 days)
- Previous ATR: The ATR from the previous period
- Current TR: The true range of the current period
Step-by-step average true range calculation example
Let’s break down an example using actual price data to illustrate how ATR is calculated. Assume we’re analyzing stock XYZ with the following daily price data over a 14-day period:
| Day | High | Low | Previous Close |
|---|---|---|---|
| Day 1 | $21.95 | $20.22 | $21.51 |
| Day 2 | $22.25 | $21.10 | $21.61 |
| Day 3 | $21.50 | $20.34 | $20.83 |
- Calculate the true range (TR) for each day:
- Day 1: Max [(21.95 – 20.22), |21.95 – 21.51|, |20.22 – 21.51|] = $1.73
- Day 2: Max [(22.25 – 21.10), |22.25 – 21.61|, |21.10 – 21.61|] = $1.15
- Repeat for each day
- Once you have the TR values for 14 days, sum them up and divide by 14 to get the first ATR. If you already have a previous ATR, use the updated formula.
Key points to remember when calculating ATR
- The starting point: The very first ATR calculation requires using the true range values for each day in the period. Afterward, you can use the simpler formula involving the previous ATR.
- Customization: While the default period is 14 days, traders often adjust the number of periods to suit their trading style. Shorter periods lead to more signals, while longer periods smooth out volatility.
How to use average true range in trading
ATR for determining volatility
Average true range is primarily used to measure volatility, but it does not predict price direction. For instance, an increasing ATR can signal rising volatility, often appearing when prices make sharp moves or experience gaps. However, it’s essential to combine ATR with other indicators to form a complete trading strategy.
ATR as an entry and exit strategy
Many traders use ATR as part of their entry and exit strategies. One popular method is the “chandelier exit,” which places a trailing stop-loss under the highest price since entering the trade. The stop-loss is set at a multiple of the ATR below the highest price. This technique ensures that as volatility increases, the stop-loss adjusts, protecting traders from excessive losses.
ATR and position sizing
ATR can also be a helpful tool in determining position sizing. In volatile markets, using ATR to adjust the size of your trades can help manage risk. For instance, if an asset has a high ATR, a trader might opt for a smaller position to avoid excessive exposure to unpredictable price swings.
Pros and cons of using ATR
Examples of average true range in real-world trading
Consider a trader looking at shares of Sunrise Energy, an imaginary renewable energy company, with a current ATR of $1.50. If they purchase the stock at $50 per share, they might set a stop-loss at a multiple of the ATR, such as 3 times the ATR, or $4.50 below the entry price. In this scenario, the stop-loss would be set at $45.50. If Sunrise Energy’s stock price rises to $55 and its volatility increases, the trader can adjust the stop-loss accordingly. This method helps the trader lock in profits while allowing the stock to move freely during periods of higher volatility.
Practical applications of average true range beyond stop-losses
ATR in position sizing
While ATR is commonly used to set stop-losses, it can also be a valuable tool for determining position size. Traders can adjust their position sizes based on market volatility. For instance, when the ATR indicates high volatility, a trader might reduce their position size to limit exposure. Conversely, when the ATR shows low volatility, traders may feel more confident increasing their position size, knowing the price swings are relatively smaller.
ATR for breakout signals
Traders sometimes use ATR to spot potential breakout opportunities. When an asset’s price moves beyond a specific ATR multiple above or below its current price, it can signal a breakout, indicating a significant price movement. This method helps traders recognize when volatility shifts in a meaningful way, potentially indicating the start of a new trend.
Common mistakes when using ATR
Ignoring other indicators
One of the most common mistakes traders make when using ATR is relying on it in isolation. ATR is a measure of volatility, not price direction, so it should be combined with other technical indicators like moving averages or RSI to form a more complete picture of the market.
Overreacting to sudden ATR spikes
A sudden spike in ATR might indicate heightened volatility, but it doesn’t necessarily mean a trend reversal or breakout. Traders should be cautious about overreacting to temporary volatility spikes and instead look at ATR in conjunction with price patterns and other data before making major trading decisions.
Conclusion
The Average True Range (ATR) is a powerful tool for traders who want to understand market volatility and better manage their trades. Although it does not indicate price direction, ATR provides crucial information about the extent of price movements, allowing traders to set realistic stop-loss levels, assess risk, and adjust position sizes accordingly. Whether you’re trading stocks, commodities, or forex, incorporating ATR into your strategy can offer a more nuanced view of market conditions and improve your overall decision-making process. Remember, though, that ATR works best when combined with other indicators to form a well-rounded trading plan.
Frequently asked questions
How is average true range (ATR) different from other volatility indicators?
ATR differs from other volatility indicators like Bollinger Bands or the Standard Deviation in that it does not focus on price direction or trend. Instead, ATR solely measures the range of price movement, which provides insight into volatility without signaling whether prices will rise or fall. This makes it a pure volatility measure, ideal for analyzing market conditions but not for predicting specific price movements.
Can average true range (ATR) be used to predict market trends?
No, ATR is not designed to predict trends or price direction. It measures market volatility by showing the average price movement over a specified period. Traders often use ATR in conjunction with other indicators to form a comprehensive trading strategy. While ATR tells you how much the market is moving, you will need trend-following indicators like moving averages to predict market direction.
What period setting should I use for ATR?
The default period for ATR is 14 days, as suggested by J. Welles Wilder, but this can be customized based on your trading style. Shorter periods (e.g., 7 days) produce more responsive volatility readings, often useful for day traders, while longer periods (e.g., 20-50 days) can smooth out fluctuations and reduce false signals, making them ideal for long-term investors. It’s important to test different settings and see which fits your strategy.
How can ATR help me manage risk in my trades?
ATR is often used to set stop-loss levels and adjust position sizes to manage risk. For example, in highly volatile markets (where ATR is high), traders may choose to reduce their position sizes to limit exposure to large price swings. Conversely, in less volatile markets (where ATR is low), they may increase position sizes. Additionally, the ATR helps in setting stop-loss orders by ensuring they are placed at a reasonable distance from the current price, accounting for market volatility.
Can ATR be used effectively for all asset classes?
Yes, ATR can be applied to any asset class, including stocks, commodities, forex, and indices. Although originally designed for commodities, it works effectively across different markets because it measures volatility, which is a universal concept. It is particularly useful in volatile markets but can also help assess risk in more stable investments.
What are the limitations of ATR in trading?
ATR has a few limitations. Firstly, it does not predict price direction, so it must be used alongside other indicators. Secondly, it can be subjective—traders need to interpret changes in ATR values relative to historical volatility. Lastly, sudden shifts in volatility (such as after major news events) can cause sharp changes in ATR, leading to potential misinterpretations if not analyzed in the broader market context.
Key takeaways
- The Average True Range (ATR) measures market volatility by calculating the range of price movements over a set period.
- ATR does not predict price direction but helps traders manage risk by understanding volatility levels.
- Traders often use ATR to set stop-loss levels, plan entry and exit points, and adjust position sizes.
- The formula for ATR involves determining the true range (TR) and averaging it over a specified period, typically 14 days.
- ATR is useful across all asset classes, from stocks to commodities to forex.
Table of Contents