ATR Trailing Stop Strategy for Nifty and Bank Nifty
ATR trailing stop strategy for Nifty and Bank Nifty, with a dated worked example, real ATR values, lot sizes, rupee P&L, costs and Indian tax rules.
Key Takeaways
- 1.An ATR trailing stop is a volatility based stop that moves only in your favour. It widens when the market is choppy and stays close when price runs cleanly, so you keep more of a trend than a fixed point stop.
- 2.The standard recipe is stop = highest close since entry minus (ATR times a multiple) for longs. ATR period 14 with a multiple of 2.5 to 3 is a common starting point for Nifty and Bank Nifty on the daily chart.
- 3.It works best in trending conditions. In a sideways, range bound market it whipsaws and bleeds you with repeated small losses, so a trend filter such as price above the 50 EMA is essential.
- 4.On Nifty futures the lot size is 65, so every 1 point move is worth Rs 75 per lot. A worked, dated example below shows the full rupee profit after STT, brokerage and GST.
- 5.Profits on futures and intraday equity are business income taxed at your slab. All numbers here are illustrative and past behaviour does not guarantee future returns.
What an ATR Trailing Stop Actually Does
Average True Range, or ATR, measures how far an instrument typically moves in one bar. It is the average of the true range over a chosen period, usually 14. True range is the largest of three numbers: today's high minus today's low, today's high minus yesterday's close, and yesterday's close minus today's low. The third and second numbers capture overnight gaps, which matter a lot in Indian markets where global cues move Nifty before the cash session even opens.
An ATR trailing stop turns that volatility number into a moving exit. For a long trade you take the highest close since you entered and subtract a multiple of ATR. As price makes new highs the stop ratchets up and never moves down. The moment a daily close breaks below the line, you are out. Because the distance is tied to ATR, the stop is naturally wider when Nifty is swinging 250 points a day and tighter when it is grinding 80 points a day. A fixed 100 point stop cannot do this. It is too tight in March panic and too loose in a sleepy July.
The strategy does not predict tops. It is a trend following exit. You will almost never sell the exact high. You give back the last ATR multiple of the move in exchange for staying in the trade through every shake out along the way. That trade off is the whole point: many small false alarms avoided, one clean exit taken.
The Exact Formula and Settings
The calculation is simple enough to run in a spreadsheet or on the chart with the built in ATR Trailing Stop or Chandelier Exit study. For a long position the rule is: trailing stop equals the highest close reached since entry minus ATR times your multiplier. For a short position it is the lowest close since entry plus ATR times your multiplier. You recompute it on every closed bar and you only ever tighten, never loosen.
- ATR period: 14 is the Wilder default and a sensible base. Shorten to 7 to 10 for faster intraday exits, lengthen to 20 to 22 for positional swings that should ignore daily noise.
- Multiplier: 2.5 to 3 for Nifty and Bank Nifty positional trades, 1.5 to 2 for intraday. A bigger multiplier means a wider stop, fewer whipsaws and larger give back at the exit.
- Reference price: use the highest or lowest close, not the highest high. Closing prices filter out single bar wicks and false breaks that wicks create.
- Trend filter: only take longs when price is above the 50 EMA and the slope is up. This single rule removes most of the sideways whipsaw losses.
Decide your ATR period and multiplier before you enter and write them in your journal. Changing the multiplier after a trade goes against you is how a disciplined stop quietly turns into hope. The math should be boring and fixed.
Worked Example: Nifty Futures, Dated and Costed
Here is a fully worked, illustrative example on the Nifty 50 futures using realistic levels from a trending stretch in late 2024. The numbers are rounded for clarity and are not a recommendation. Suppose on 2 December 2024 Nifty December futures close at 24,300 and price has just reclaimed the 50 EMA on rising volume. The daily 14 period ATR reads 180 points. You buy 1 lot. The Nifty lot size is 65, so 1 point equals Rs 75 and the notional value is 24,300 times 75, which is about Rs 18.2 lakh. Your broker margin is roughly Rs 1.3 lakh to Rs 1.6 lakh.
You choose ATR multiplier 2.5. Your initial trailing stop is 24,300 minus (180 times 2.5), which is 24,300 minus 450, equal to 23,850. That is your line in the sand. The risk if stopped at entry is 450 points times Rs 75, which is Rs 33,750 per lot, before costs. Now the trend runs. Over the next two weeks Nifty climbs and on 16 December 2024 it closes at its swing high near 24,750. Your stop has trailed up to 24,750 minus 450, equal to 24,300, so your worst case is now break even on price.
Then the market rolls over. On 18 December 2024, the day of the US Fed decision, Nifty falls hard and closes around 24,180, below your trailing stop of 24,300. You exit on the close at roughly 24,180. Your gross move is 24,180 minus 24,300 entry, which is a loss of 120 points, or 120 times Rs 75 equal to a gross loss of Rs 9,000 on this lot. Notice what the trail did for you: even though this particular trade lost, your stop had climbed 450 points, so a 120 point adverse close cost far less than the original 450 point risk. The ratchet protected most of the open profit you had carried.
| Step | Date | Nifty futures | Trailing stop | Note |
|---|---|---|---|---|
| Entry (long, 1 lot) | 2 Dec 2024 | 24,300 | 23,850 | ATR 180, multiplier 2.5, risk 450 pts |
| Trend continues | 9 Dec 2024 | 24,560 | 24,110 | Stop ratchets up only |
| Swing high close | 16 Dec 2024 | 24,750 | 24,300 | Stop now at break even on price |
| Stop hit on close | 18 Dec 2024 | 24,180 | 24,300 | Close below stop, exit triggered |
The Same Trade That Goes Right, in Rupees
Now run the favourable version to see the upside. Same 2 December 2024 entry at 24,300, same 180 ATR and 2.5 multiplier, but this time the trend extends cleanly for several weeks. Suppose Nifty futures keep printing higher closes and the swing high close reaches 26,100. ATR stays near 180, so the trailing stop sits at 26,100 minus 450, equal to 25,650. A sharp down day finally closes at 25,600, breaking the line, and you exit there.
Your gross gain is 25,600 minus 24,300, which is 1,300 points. At Rs 75 per point on 1 lot that is a gross profit of Rs 97,500. You gave back the last 500 points from the 26,100 high, which is the cost of letting the trail confirm the reversal rather than guessing the top. Across the whole hold you never had to predict anything. You simply moved the stop up bar by bar and let the close decide.
- Entry 24,300, exit 25,600, gross move 1,300 points.
- 1,300 points times Rs 75 times 1 lot equals a gross profit of Rs 97,500.
- Give back from the high was 500 points, the structural cost of a trend following exit.
- Net profit after costs is shown in the next section.
Costs and Taxes That Eat Into the Rupee P&L
A clean point gain is not the money in your bank. On the winning Nifty futures trade above, here is an illustrative cost build up for 1 lot, buy plus sell. Turnover is roughly Rs 18.2 lakh on the buy and Rs 19.2 lakh on the sell, so total turnover is about Rs 37.4 lakh. STT on futures is 0.02 percent on the sell side only, which on Rs 19.2 lakh is about Rs 384. Exchange transaction charges on NSE futures are around 0.0019 percent of turnover, roughly Rs 71. SEBI charges and stamp duty add a small amount. A discount broker charges a flat Rs 20 per executed order, so about Rs 40 round trip. GST at 18 percent applies on brokerage plus transaction charges, roughly Rs 20.
| Cost item | Approx amount (Rs) | Basis |
|---|---|---|
| Gross profit | 97,500 | 1,300 points times 75 |
| Brokerage round trip | 40 | Rs 20 per order, 2 orders |
| STT (sell side) | 384 | 0.02 percent on Rs 19.2 lakh |
| Exchange + SEBI charges | 75 | ~0.0019 percent of turnover |
| Stamp duty (buy side) | 36 | 0.002 percent on buy turnover |
| GST | 21 | 18 percent on brokerage + txn |
| Total costs | ~556 | Sum of the above |
| Net profit (pre tax) | ~96,944 | Gross minus costs |
So your roughly Rs 97,500 gross becomes about Rs 96,900 net before income tax. Now the tax layer. Futures and options profits are treated as business income in India, not capital gains. They are added to your total income and taxed at your slab rate. If you are in the 30 percent slab, the tax on this Rs 96,900 is roughly Rs 29,000, leaving about Rs 67,900 in hand, but you can also deduct genuine trading expenses such as internet, software and advisory against that business income. This is very different from delivery equity, where short term capital gains are taxed at 20 percent and long term gains at 12.5 percent above Rs 1.25 lakh per year.
Always model costs and your tax slab before you size a trade, not after. On small swings the STT and slippage can quietly turn a positive point trade into a flat or losing rupee trade. The point P&L on the screen is the optimistic version.
Applying It to Bank Nifty and Single Stocks
Bank Nifty moves faster and wider than Nifty, so its ATR is larger in absolute points and a fixed multiplier produces a wider rupee stop. The Bank Nifty futures lot size is 30, so each point is worth Rs 15 per lot. If Bank Nifty ATR is 600 points and you use a 2.5 multiplier, your stop sits 1,500 points away, which is 1,500 times Rs 15 equal to Rs 22,500 of risk per lot. Because Bank Nifty whipsaws hard around expiry and bank results, many traders drop the multiplier slightly or trade it only on strong trend days.
For single stocks the same logic holds but liquidity and gap risk vary a lot. A heavyweight like Reliance, HDFC Bank, TCS or Infosys has tight spreads and reliable ATR behaviour, so the trailing stop tracks cleanly. A mid cap can gap 8 to 10 percent on a result and blow straight through your stop on the open, so your realised loss is worse than the calculated stop. The ATR stop manages volatility, it does not protect you from overnight gap risk. For delivery equity remember the capital gains rules: short term at 20 percent, long term at 12.5 percent above Rs 1.25 lakh, with STT of 0.1 percent on both buy and sell sides.
Choosing the Multiplier for Indian Volatility Regimes
There is no single correct multiplier. It is a dial between staying in the trend and protecting profit. A small multiplier of 1.5 to 2 keeps a tight stop that locks in gains quickly but gets shaken out often in normal Nifty noise. A large multiplier of 3 to 4 rides deep trends through scary pullbacks but gives back a lot at the exit and can turn a winner into a much smaller winner. The right answer depends on the instrument and the current volatility regime.
| Multiplier | Behaviour | Best for |
|---|---|---|
| 1.5 to 2 | Tight stop, exits early, frequent whipsaws | Intraday Nifty and Bank Nifty, fast scalps |
| 2.5 to 3 | Balanced, the common default | Positional Nifty and large cap swings |
| 3 to 4 | Very wide, rides deep trends, large give back | Strong sustained trends, monthly positional |
A practical method is to look at recent behaviour. If Nifty has been trending smoothly, a 2.5 multiplier is usually enough. If India VIX is elevated and daily ranges are wide and erratic, widen to 3 so normal noise does not knock you out. The point is to choose deliberately based on the volatility in front of you, then hold that choice for the life of the trade.
Where This Strategy Fails
The honest weakness of any trailing stop is the range bound market. When Nifty chops sideways in a 400 point band for three weeks, an ATR trail will repeatedly trigger near the bottom of the range and re-enter near the top, handing you a string of small losses plus costs each time. This is death by a thousand cuts and it is exactly why the 50 EMA trend filter exists. If price is flat against the moving average, the strategy simply should not be active.
- Choppy ranges: repeated whipsaw exits and re-entries bleed capital. Stand aside or require a trend filter.
- Gap risk: an overnight gap can fill far below your stop, so realised loss exceeds calculated stop. Position size for the gap, not the stop.
- Late exits: you always give back the last ATR multiple of the move. That is structural, not a bug.
- Over optimisation: curve fitting the perfect multiplier on past data rarely survives live. Keep settings simple and robust.
Backtest the rule on several years of NSE data across both trending and ranging phases before you trust it, and include realistic costs in that backtest. A strategy that looks brilliant ignoring STT and slippage can be flat once you add them. Log every live trade in a trading journal with the ATR value, multiplier, entry, exit and rupee result so you can see whether the dial you chose is actually serving you.
A Repeatable Checklist
- Confirm a trend: price above the 50 EMA for longs, below for shorts, with the slope agreeing.
- Read the current 14 period ATR for your instrument and timeframe.
- Pick a multiplier in advance, 2.5 to 3 for positional Nifty, and compute the rupee risk per lot.
- Size the position so the worst case rupee loss fits your risk limit, accounting for gap risk.
- After each closed bar, recompute the stop and tighten only. Never loosen it.
- Exit on the close that breaks the trail. Record ATR, multiplier and rupee P&L after costs in your journal.
Done consistently, the ATR trailing stop removes the two worst habits in discretionary trading: exiting winners too early out of fear and holding losers too long out of hope. The rule is mechanical, the math is fixed before you enter, and the rupee outcome is something you can audit honestly after the fact.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to Zerodha Varsity, NSE India and Investopedia. Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding the Diamond Top Pattern in Indian Markets
Spot the diamond top reversal on Bank Nifty with a dated Oct 2024 example, options P&L in rupees, targets, stops and Indian F&O tax rules.
Understanding Trading Terminals in Indian Markets
What a trading terminal is, how Kite, NEST and ODIN compare, plus a worked Nifty options example, lot sizes, margins and Indian tax rules.
Covered Call in Indian Markets: A Comprehensive Guide
Covered call meaning for Indian traders: how it works on NSE, a worked Reliance example, STT, physical settlement, plus correct 20% STCG, 12.5% LTCG tax.
Understanding Blue Chip Stocks in Indian Markets
Nifty 50 blue chip table with market cap, dividend yield and beta, plus worked cash and F and O examples and Indian tax rules for 2026.
CPI Inflation and Stock Market in Indian Markets
How CPI inflation and the RBI 4 percent plus or minus 2 percent band move Nifty and Bank Nifty, with a worked options example, taxes and costs.
Pair Trading Strategy for Indian Markets
Pair trade TCS and Infosys with real z-score math, lot sizes, rupee P&L, STT and slab-rate tax. A worked, market-neutral guide for Indian traders.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹2,499 · No broker credentials