ATR is not an entry signal on its own. It has no direction: a high ATR can mean a strong rally or a sharp fall. What it does well is answer the questions every strategy has to answer after the entry: how far away should the stop be, how many shares or lots should I buy, and is the market active enough for this rule to work? This guide explains how ATR is calculated, the main ways to use it, complete rule sets with worked numbers on Nifty futures and stocks, ATR in intraday and option trades, the costs, and how to build, test and run ATR-based rules in QuantPower.
At a glance
| ATR-based trading | |
|---|---|
| Purpose | Adapt stops, targets and position size to volatility |
| Instruments | Any: indices, futures, stocks, commodities |
| Indicator | ATR, usually over 14 periods, Wilder's smoothing |
| Common uses | Stops at 1.5 to 3 times ATR, sizing by ATR, volatility filters, trailing exits |
| Works with | Almost any entry signal |
| Direction | None: ATR measures size of moves, not their direction |
A short history of ATR
J. Welles Wilder Jr. introduced the Average True Range in 1978 in *New Concepts in Technical Trading Systems*, the same book that introduced the Relative Strength Index, the Parabolic SAR and the Directional Movement system.1 Wilder was trading commodity futures, where prices often gapped between sessions. The usual measure of a day's range, the high minus the low, missed those gaps. His "true range" added the distance from the previous close, so a gap counted as movement.
ATR became famous through position sizing. In 1983, the commodity traders Richard Dennis and William Eckhardt taught a group of new traders, later known as the Turtles, a written breakout system. Its key unit was "N", a 20-day average of the true range: positions were sized so that a move of one N cost the same small share of the account in every market, and stops were placed at 2N.2 Much of what traders now call ATR sizing comes from that system.
Others built on the same idea. Chuck LeBeau's chandelier exit hung a trailing stop a multiple of ATR below the highest high since entry. Keltner Channels, first drawn in the 1960s around an average of the daily range, were redrawn with ATR in the 1980s. The Supertrend indicator, popular with Indian traders and the basis of the supertrend strategy, places its line a multiple of ATR from the candle's midpoint.
In India, ATR came into wide retail use with charting platforms in the 2000s and with the growth of index futures and options trading. It is now part of the standard indicator set on every Indian charting platform; Arth.live charts, inside QuantPower, carry ATR, normalised ATR, Keltner Channels, Supertrend, the chandelier exit and an ATR trailing stop.
How ATR is calculated
ATR starts with the true range of each candle, which is the largest of:
- The candle's high minus its low.
- The distance from the previous close to the high.
- The distance from the previous close to the low.
Including the previous close captures gaps. If a stock closes at ₹500 and the next day trades between ₹510 and ₹518, the high-low range is only ₹8, but the true range is ₹18, because the price gapped up from ₹500.
ATR is the average of the true range over a set period, usually 14, smoothed with Wilder's method: each new ATR is the previous ATR times (n − 1), plus the latest true range, all divided by n. A 14-day ATR of ₹20 means the stock has typically moved about ₹20 a day over the last few weeks.
A worked calculation
Here are six days of a stock, with a five-day ATR to keep the arithmetic short:
| Day | Open | High | Low | Close | True range |
|---|---|---|---|---|---|
| 1 | 500 | 505 | 496 | 503 | 9 |
| 2 | 503 | 510 | 501 | 508 | 9 |
| 3 | 512 | 518 | 510 | 515 | 10 |
| 4 | 515 | 516 | 505 | 507 | 11 |
| 5 | 507 | 509 | 498 | 500 | 11 |
| 6 | 500 | 512 | 494 | 509 | 18 |
On day 3 the high-low range is ₹8, but the gap from the previous close of ₹508 to the high of ₹518 makes the true range ₹10. The first five-day ATR is the plain average of the first five true ranges: ₹10. On day 6, Wilder's smoothing gives (10 × 4 + 18) ÷ 5 = ₹11.60. One wide day lifts the ATR, but only by a fifth of the jump, which is why ATR reacts to a change in volatility over several sessions rather than at once.
Use 1: Stops based on ATR
A fixed stop, such as 1% or 50 points, is too tight on volatile days and too loose on quiet ones. An ATR stop scales with volatility:
- Initial stop: entry price minus 2 times ATR for a long trade.
- Trailing stop: the highest price since entry minus 3 times ATR, often called a chandelier stop.
Example. Nifty futures have a 15-minute ATR of 22 points. A long entry at 25,080 with a 2-ATR stop puts the stop at 25,036, a risk of 44 points or ₹2,860 on one lot of 65.5 On a calmer day with an ATR of 12, the same rule gives a 24-point stop at 25,056.
The multiple is a trade-off. A 1-ATR stop sits inside the normal noise of the market and is hit often, even when the trade idea is right. A 3-ATR stop is rarely hit by noise, but each loss is three times larger, so the position must be smaller. Most traders settle between 1.5 and 3, and test the choice on their own entry rule.
Use 2: Position sizing with ATR
ATR sizing keeps the rupee risk of each trade roughly constant:
Position size = rupees you are willing to risk ÷ (stop multiple × ATR).
Stocks. You risk ₹10,000 per trade, 1% of a ₹10 lakh account, with a 2-ATR stop. A stock with an ATR of ₹12 gets 10,000 ÷ 24 ≈ 416 shares. A more volatile stock with an ATR of ₹40 gets 10,000 ÷ 80 = 125 shares. Each position risks about the same amount. The position size calculator does this for you.
Futures. For futures and options, round down to whole lots. If Nifty's daily ATR is 220 points, a 2-ATR stop is 440 points, ₹28,600 on one lot. At 1% risk, that needs an account of about ₹28.6 lakh for one lot. A ₹10 lakh account cannot hold one Nifty futures lot at this stop within 1% risk; the choices are a smaller stop on a shorter timeframe, a defined-risk option trade, or a larger share of the account at risk.
Why it matters. Without ATR sizing, a trader who buys the same number of shares in every stock takes much larger risks in the volatile ones. Over many trades, the results then depend mostly on a few volatile names. ATR sizing spreads the risk evenly, so each trade has the same chance to move the account.
Use 3: Targets based on ATR
Targets can also scale with volatility, such as 3 times ATR from entry. This keeps the reward-to-risk ratio consistent: a 2-ATR stop and a 3-ATR target give a 1.5 to 1 ratio on every trade. Fixed ATR targets suit mean-reversion and range strategies, where the move is expected to be limited. Trend strategies usually do better with a trailing ATR stop and no fixed target, because the few long trends make most of the gains.
Use 4: Volatility filters
ATR can switch strategies on and off:
- Skip quiet markets for breakout strategies, for example if ATR is below its 50-period average.
- Skip wild markets for mean reversion strategies, for example if ATR is more than 1.5 times its average.
- Compare instruments by ATR as a percentage of price, to see which are more volatile.
ATR as a percentage of price
Points and rupees cannot be compared across instruments; ATR as a share of the price can. A stock at ₹1,500 with an ATR of ₹30 moves about 2% a day. A stock at ₹400 with an ATR of ₹14 moves about 3.5%. Nifty at 25,000 with an ATR of 220 points moves about 0.9%. A breakout rule that works on Nifty may need wider stops, or should be skipped, on the stock that moves four times as much in percentage terms. The normalised ATR indicator on the chart shows this percentage directly.
Use 5: Trailing exits
The trailing stop is where ATR earns most of its reputation. A chandelier stop at 3 times ATR below the highest close since entry lets a trend run while it is orderly, and closes the trade when the price falls back by more than its normal range. Because the distance is in ATR, the stop sits further away in a volatile trend and closer in a calm one. The stop only ever moves up for a long trade; if ATR widens after a high, the stop stays where it was.
ATR inside other indicators
ATR is the building block of several tools on the chart. They differ in what they hang the ATR distance from:
| Indicator | What it draws | Typical use |
|---|---|---|
| Supertrend | A line a multiple of ATR from the candle's midpoint, flipping sides on a close through it | Trend direction and a trailing stop in one line |
| Keltner Channels | Bands a multiple of ATR around an exponential moving average | Breakouts above the band, or pullbacks to the middle |
| Chandelier exit | A line a multiple of ATR below the highest high since a chosen point | Trailing exits on long trades |
| ATR trailing stop | A stop a multiple of ATR from the close, moving only in the trade's favour | Exits for trend trades on any timeframe |
| Normalised ATR | ATR as a percentage of the close | Comparing volatility across instruments |
All five carry the same strength and the same weakness: they adapt to volatility, and they react to it only after it has changed. A sudden jump in volatility widens the bands and lines over several candles, not at once.
A complete ATR-based rule set
This example combines an entry signal with ATR stops, sizing and a trailing exit, on Nifty futures and daily candles:
- Entry: buy when the price closes above the 20-day high (a Donchian channel strategy breakout).
- Size: risk 1% of capital, with the stop at 2 times the 14-day ATR.
- Initial stop: entry minus 2 × ATR.
- Trailing stop: highest close since entry minus 3 × ATR.
- Filter: only enter if the 14-day ATR is above its 50-day average, so the market is active.
- Expiry: close and re-enter in the next month's contract before the expiry week.
A worked trade
The numbers below are an illustration, not a record. Nifty futures close at 25,080, above the 20-day high of 25,040. The 14-day ATR is 220 points, above its 50-day average of 190, so the filter allows the trade.
- Size. The account is ₹30 lakh, and 1% is ₹30,000. A 2-ATR stop is 440 points, ₹28,600 per lot. One lot fits.
- Initial stop. 25,080 − 440 = 24,640.
- The trend. Over the next three weeks the futures close as high as 26,050, and ATR rises to 230. The trailing stop is now 26,050 − 690 = 25,360.
- The exit. The index pulls back and closes at 25,340, below the trailing stop. The trade closes there: a gain of 260 points, ₹16,900 on one lot, before costs of about ₹977 for the round trip.
The trade gave back 710 points from the highest close. That is the price of a trailing stop wide enough to stay in a trend: it is not hit by ordinary pullbacks, so it is hit only after a real one. A tighter multiple would have kept more of this trend and been stopped out of many others too early.
A second example: an intraday trade
On a 15-minute chart, Nifty futures break above the morning's range at 10:30 am at 25,150. The 15-minute ATR is 24 points.
- Stop. 2 × 24 = 48 points, at 25,102. On one lot that risks ₹3,120.
- Target. 3 × 24 = 72 points, at 25,222, a reward of ₹4,680.
- Time exit. Close by 3:15 pm whatever happens.
- Outcome A. The breakout runs and the target fills at 11:40 am: +72 points, ₹4,680 before costs of about ₹977.
- Outcome B. The breakout fails and the stop fills at 11:05 am, with 3 points of slippage: −51 points, ₹3,315 plus costs.
Over many such trades, the 1.5 to 1 reward-to-risk means the rule breaks even before costs if 40% of trades reach the target. After costs of about 15 points a round trip, it needs closer to 47%. Costs are why intraday ATR rules need a real edge in the entry, not just tidy exits.
ATR on different timeframes
The ATR on a 15-minute chart and on a daily chart measure different things, and the rules should match the timeframe of the trade:
- Intraday. A 15-minute ATR of 20 to 30 points on Nifty suits stops for trades that close by the end of the session. Skip the first 15 minutes after 9:15 am, when the opening gap inflates the true range of the first candle.
- Swing. A daily ATR suits trades held for days or weeks. Overnight gaps are part of the daily true range, which is the point: a swing trade has to survive them.
- Weekly. A weekly ATR suits positional trades and long-term sizing. Its stops are wide, and the positions must be small.
Mixing timeframes is a common error: a daily signal with a 15-minute ATR stop is almost certain to be hit by the next day's normal movement.
ATR on commodities
Commodities are where ATR was born, and they still show why it matters. MCX crude oil futures trade from 9 am to late evening, through the US session, and their daily range is often several times Nifty's in percentage terms. One lot of crude oil is 100 barrels, so a ₹1 move in the price is ₹100 per lot. If crude's daily ATR is ₹120, a 2-ATR stop is ₹240, ₹24,000 per lot, close to a Nifty futures lot's risk at a much smaller contract value. Gold usually moves less in percentage terms and silver more. Sizing every commodity position by its own ATR is the only way to hold several of them without one dominating the account.
ATR across a portfolio
ATR sizing becomes most useful when several positions are open at once. Suppose a trader holds Nifty futures, a stock future and a crude oil future, each sized to risk 1% at a 2-ATR stop. If all three hit their stops on the same day, the account loses 3%, a known and limited figure. Without ATR sizing, the same three positions might risk 1%, 4% and 6%, and the result would depend on which one happened to move. A simple portfolio rule caps the total open risk, such as 5% of the account across all positions, and skips new entries until an open trade is closed or its trailing stop has moved into profit.
Reading ATR before an event
ATR measures the moves that have already happened. Before a scheduled event such as the Union Budget or an RBI decision, ATR may be low because the market has been waiting quietly, while the move on the day may be much larger. A 2-ATR stop set the evening before such an event is often too tight for the morning after. Many traders either reduce size into known events or step aside until the news is out and ATR has caught up.
ATR with options
ATR applies to the underlying, not the option. Two uses are common:
- Stops on the index level. An option trade on a breakout can be closed when Nifty itself moves 1.5 ATR against the entry, instead of when the option's premium falls by a percentage. In QuantPower, an option leg's stop-loss can be set in underlying points, which makes this direct.
- Choosing strikes and widths. A daily ATR of 220 points gives a sense of how far Nifty might travel in a few sessions, which helps set the width of a spread or the distance of a sold strike.
ATR does not measure implied volatility. An option's price depends on the volatility the market expects, which can be far from the volatility the index has just shown. Use ATR for the underlying's behaviour and IV for the option's price.
What it costs to trade
A round trip in one Nifty futures lot costs about ₹977 in brokerage and statutory charges at the rates from 1 April 2026, most of it the STT on the sale.3 That is about 15 points. On an intraday trade with a 44-point stop, costs are a third of the risk; on a swing trade with a 440-point stop, they are about 3%. ATR rules on short timeframes need their average gain well above the costs, or the costs take the edge.
Stops also slip. In a fast market, a stop order fills beyond its trigger, and an overnight gap can open the market far past it. Allow a few points of slippage on index futures, and more on stocks with thin order books.
Building ATR rules in QuantPower
QuantPower runs rules on your own broker account, through the two static IPs included with every account.
- See it on the chart. Add ATR, the ATR trailing stop or the chandelier exit to the Arth chart inside the app, with the period and multiple you plan to use.
- Test the rule. QuantPower's rule backtest reads up to 2,000 past candles from your broker, from 5-minute to daily, and holds one position at a time. Write the entry as a condition, such as the close crossing above the Donchian upper band, and the exit as a rule, such as the close crossing below the ATR trailing stop line, so the trailing exit moves with ATR. Slippage and charges are deducted from every trade. See backtesting.
- Add the filter. A custom indicator written in Arth Script can express the filter, such as the 14-period ATR divided by its 50-period average; the signal can then require that value to be above 1.
- Create the signal. In Algos → Signal algos, set the entry condition on closed candles, from 1 minute to 1 week. In one-touch mode you get a notice with the order ready; in auto mode, once armed, the signal places the order itself with every risk check. A signal that places its own order costs no tokens.
- Set the stop. For a stock or futures position, place the stop as a GTT order, or as a two-leg OCO with the target, which can wait up to 365 days. For an option algo, set the leg's stop in underlying points and use the trailing setting: for every X points in your favour, the stop moves Y.
- Forward test. Point the signal at the Forward test account and let it trade on live prices with test money. See forward test.
Size each trade before it goes live with the position size calculator, and set the quantity in the signal's order.
Account safety above the rules
Smart Exit sets a profit target, a stop-loss and a trailing step for the whole account; on a hit it stops the algos and squares off. The daily loss limit refuses new orders once today's loss reaches it. The kill switch stops a segment until its next session. They cover every connected broker together.
Testing ATR rules well
- Use the ATR known at the time of each decision, not one calculated later.
- Test several multiples, such as 1.5, 2 and 3 for stops, and keep the choice only if neighbouring values give similar results.
- Include gaps. Use daily data with real opens, so gap losses beyond stops appear in the results.
- Count costs and slippage, especially on short timeframes.
- Check the worst run. ATR sizing evens out risk per trade, but a long run of stopped-out trades still adds up. Know its length before going live.
Limits of ATR
- ATR is backward-looking. It measures past volatility and reacts slowly to sudden changes.
- ATR has no direction. A high ATR can mean a strong rally or a crash.
- Gaps can exceed it. An overnight gap can move the price far more than one or two ATRs, past any stop.
- It falls in quiet markets. A long calm spell shrinks ATR, which tightens stops just before volatility returns.
Common ATR mistakes
- Using one multiple everywhere without testing it on the entry rule.
- Mixing timeframes: a daily signal with an intraday ATR stop.
- Ignoring the lot size and rounding up when the ATR size is below one lot.
- Moving the stop away when the price approaches it.
- Treating ATR as a signal. It tells you how far, not which way.
- Forgetting that ATR shrinks in calm markets. A stop sized from a quiet fortnight may be too tight when volatility returns; check the ATR against its longer average before trusting it.
- Sizing the first trade and not the rest. ATR changes every candle, so recompute the size for each new entry.
Where ATR-based trading is going
ATR's ideas are spreading from charts into risk systems. Brokers and exchanges already use volatility to set margins, and traders increasingly set position sizes from volatility rather than from the margin available. Rule backtests and signal algos that act on closed candles let a trader test an ATR exit across years of data and run it without watching every session. The retail algo framework in force since 1 April 2026 brings such rules through brokers under exchange oversight.4 The measure itself is nearly fifty years old and has barely changed; what has changed is how easily it can be tested, and how easily a trader can check whether a stop multiple that looked good on one stock holds up on twenty others.
Start with 500 free tokens
Connect your broker, build a strategy and test it on paper before a single live order goes out.
Frequently asked questions
What is a good ATR multiple for a stop loss?
Many traders use 1.5 to 3 times ATR. Smaller multiples get stopped out more often; larger ones risk more per trade. Test on your strategy.
What ATR period should I use?
14 is the standard. Shorter periods react faster to changes in volatility; longer periods are smoother.
Can I use ATR for options?
Yes, on the underlying, to set stops or filters based on the index's volatility. Option prices also depend on implied volatility, which ATR does not measure.
Is a high ATR good or bad?
Neither. High ATR means larger moves, which suit breakout strategies but need wider stops and smaller positions.
How is ATR different from standard deviation?
Standard deviation measures how far closes spread around their average. ATR measures the full range of each candle, including gaps from the previous close. ATR suits stops, because a stop is hit by intraday highs and lows, not by closes alone.
Related guides
- Volatility meaning: what volatility is and how it is measured
- Volatility calculator: historical volatility from closing prices
- Bollinger band breakout strategy: volatility bands built on standard deviation
References
- J. Welles Wilder Jr., *New Concepts in Technical Trading Systems* (Trend Research, 1978)
- Curtis M. Faith, *Way of the Turtle* (McGraw-Hill, 2007), on the Turtle system's N unit, 2N stops and sizing
- Union Budget 2026-27: securities transaction tax on futures and options raised from 1 April 2026 (indiabudget.gov.in)
- SEBI, circular on safer participation of retail investors in algorithmic trading, 4 February 2025, in force for every broker from 1 April 2026 (sebi.gov.in)
- NSE, Nifty futures contract specifications and trading hours (nseindia.com)