Buy a close above the highest high of the past 252 sessions; sell when the close falls below the 50-day average.
52-Week High Breakout on Bank Nifty from Dec 2005 to Nov 2026: CAGR 0.6%, max drawdown 36.7%, win rate 38.2% over 34 trades, vs buy-and-hold 13.1%.
As of · Hypothetical backtest by Jivani Markets on Bank Nifty daily data; re-run weekly
| Measure | 52-Week High Breakout | Buy and hold Bank Nifty |
|---|---|---|
| CAGR (annual return) | 0.6% | 13.1% |
| Total return | 13% | 1211% |
| Max drawdown | −36.7% | −68.8% |
| ₹10 lakh became | ₹11.3 lakh | ₹131.1 lakh |
| Win rate | 38.2% | — |
| Trades (closed) | 34 | — |
| Winning / losing trades | 13 / 21 | — |
| Profit factor | 1.13 | — |
| Sharpe ratio | 0.11 | — |
| Volatility (annual) | 10.2% | — |
| Time in the market | 25% | 100% |
| Average holding | 38 sessions | — |
| Charges and slippage paid | ₹2,19,590 | — |
# 52-Week High Breakout on Bank Nifty
universe("NIFTY BANK", asset="index")
settings(
timeframe="1d",
entry_timing="next_open",
cost_model="retail",
slippage_model="tiered",
start="2006-01-01",
benchmark="NIFTY BANK",
allow_short=False,
participation_ignore_zero_volume=True,
)
exit_when(close() < sma(50))
buy(close() > high().highest(252).shift(1), size=percent_of_equity(100))
| Year | Strategy | Buy and hold |
|---|---|---|
| 2026* | −0.8% | +0.3% |
| 2025 | +2.8% | +17.1% |
| 2024 | −21.1% | +5.3% |
| 2023 | +3.2% | +12.3% |
| 2022 | −1.5% | +21.1% |
| 2021 | −7.9% | +13.5% |
| 2020 | −1.9% | −2.8% |
| 2019 | +0.2% | +18.4% |
| 2018 | −3.0% | +6.3% |
| 2017 | +10.5% | +40.5% |
| 2016 | −2.0% | +7.4% |
| 2015 | +0.0% | −9.7% |
| 2014 | +15.3% | +64.6% |
| 2013 | −5.9% | −8.7% |
| 2012 | +9.4% | +56.5% |
| 2011 | 0.0% | −32.4% |
| 2010 | +17.8% | +30.6% |
| 2009 | +5.3% | +80.5% |
| 2008 | −12.3% | −49.3% |
| 2007 | +28.6% | +64.2% |
| 2006 | −12.6% | +31.9% |
| Bought | At | Sold | At | Return |
|---|---|---|---|---|
| 20 Oct 2025 | 57,959.66 | 22 Jan 2026 | 59,105.46 | +1.8% |
| 22 Apr 2025 | 55,497.42 | 29 Jul 2025 | 55,797.98 | +0.3% |
| 23 Sept 2024 | 53,998.78 | 7 Oct 2024 | 51,465.88 | −4.9% |
| 20 Jun 2024 | 51,790.47 | 6 Aug 2024 | 50,361.24 | −3.0% |
| 4 Jun 2024 | 50,743.05 | 5 Jun 2024 | 47,415.37 | −6.8% |
| 10 Apr 2024 | 48,952.87 | 10 May 2024 | 47,484.17 | −3.2% |
| 5 Dec 2023 | 46,966.24 | 18 Jan 2024 | 45,424.51 | −3.5% |
| 30 May 2023 | 44,343.77 | 4 Aug 2023 | 44,687.62 | +0.6% |
| 14 Nov 2022 | 42,240.82 | 26 Dec 2022 | 41,653.78 | −1.6% |
| 20 Sept 2021 | 37,444.28 | 17 Nov 2021 | 38,056.23 | +1.4% |
From 30 Dec 2005 to 9 Nov 2026, these 52-Week High Breakout rules on the Bank Nifty index returned a CAGR of 0.6% after costs, less than the 13.1% a year from buying and holding the index, with a worst fall of 36.7% against 68.8% for buy-and-hold. It made 34 trades and was invested 25% of the time. This is a hypothetical test on past data, not a recommendation, and past performance is not indicative of future results.
38.2%: 13 of 34 closed trades made money after charges and slippage. On a ₹10 lakh account the average winning trade made ₹84,025 and the average losing trade lost ₹46,042; the profit factor (gross profit ÷ gross loss) was 1.13. A high win rate with small wins can still lose money, so read it with the CAGR and drawdown.
Buy: The close is above the highest high of the previous 252 sessions (a new 52-week high). Sell: The close falls below the 50-day SMA. One position at a time with all of the capital; out of the market (in cash, earning nothing) between trades. Daily candles, long only, orders filled at the next session's open.
Buying and holding the Bank Nifty index over the same dates returned 13.1% a year with a worst fall of 68.8%; the strategy returned 0.6% a year with a worst fall of 36.7%. A strategy that is out of the market part of the time usually gives up some return in rising years in exchange for missing part of the falls; the year-by-year table on this page shows where each one gained or lost.
Retail delivery charges (STT, exchange and SEBI fees, stamp duty and GST) and size-based slippage on every buy and sell; signals are read on the daily close and filled at the next session's open; price return only, so dividends are left out of both the strategy and buy-and-hold. An index cannot be bought directly; a fund or ETF that tracks it adds its own expense ratio and tracking error, and pays dividends this price-index test leaves out.
Yes. The "Run it yourself" link opens these exact rules in the Jivani Markets backtest builder, where you can change the indicator settings, add a stop-loss, pick other stocks or indices and re-run it on the latest data.