Buy a bullish engulfing candle that touches the 50-day average; hold for 10 sessions.
Bullish Engulfing at the 50-DMA on Nifty 50 from Dec 2005 to Nov 2026: CAGR −0.8%, max drawdown 14.8%, win rate 60.0% over 15 trades, vs buy-and-hold 11.0%.
As of · Hypothetical backtest by Jivani Markets on Nifty 50 daily data; re-run weekly
| Measure | Bullish Engulfing at the 50-DMA | Buy and hold Nifty 50 |
|---|---|---|
| CAGR (annual return) | −0.8% | 11.0% |
| Total return | −15% | 783% |
| Max drawdown | −14.8% | −59.9% |
| ₹10 lakh became | ₹8.5 lakh | ₹88.3 lakh |
| Win rate | 60.0% | — |
| Trades (closed) | 15 | — |
| Winning / losing trades | 9 / 6 | — |
| Profit factor | 0.41 | — |
| Sharpe ratio | -0.23 | — |
| Volatility (annual) | 3.1% | — |
| Time in the market | 3% | 100% |
| Average holding | 10 sessions | — |
| Charges and slippage paid | ₹73,173 | — |
# Bullish Engulfing at the 50-DMA on Nifty 50
universe("NIFTY 50", asset="index")
settings(
timeframe="1d",
entry_timing="next_open",
cost_model="retail",
slippage_model="tiered",
start="2006-01-01",
benchmark="NIFTY 50",
allow_short=False,
participation_ignore_zero_volume=True,
)
time_exit(bars=10)
buy(all_of(bullish_engulfing(), touches(sma(50))), size=percent_of_equity(100))
| Year | Strategy | Buy and hold |
|---|---|---|
| 2026* | −3.7% | −4.2% |
| 2025 | 0.0% | +10.5% |
| 2024 | −5.2% | +8.8% |
| 2023 | −1.0% | +20.0% |
| 2022 | 0.0% | +4.3% |
| 2021 | 0.0% | +24.1% |
| 2020 | 0.0% | +14.9% |
| 2019 | +0.6% | +12.0% |
| 2018 | +1.8% | +3.1% |
| 2017 | +0.8% | +28.6% |
| 2016 | 0.0% | +3.0% |
| 2015 | +1.3% | −4.1% |
| 2014 | −2.0% | +31.4% |
| 2013 | +4.7% | +6.8% |
| 2012 | +0.1% | +27.7% |
| 2011 | 0.0% | −24.6% |
| 2010 | 0.0% | +17.9% |
| 2009 | −6.9% | +75.8% |
| 2008 | +0.9% | −51.8% |
| 2007 | −1.1% | +54.8% |
| 2006 | −5.6% | +39.9% |
| Bought | At | Sold | At | Return |
|---|---|---|---|---|
| 26 Aug 2026 | 24,378.46 | 9 Sept 2026 | 23,486.77 | −3.9% |
| 16 Dec 2024 | 24,790.53 | 31 Dec 2024 | 23,525.26 | −5.3% |
| 28 Sept 2023 | 19,791.44 | 13 Oct 2023 | 19,625.07 | −1.1% |
| 21 Jun 2019 | 11,845.34 | 5 Jul 2019 | 11,946.8 | +0.6% |
| 12 Dec 2018 | 10,606.89 | 27 Dec 2018 | 10,801.67 | +1.6% |
| 13 Apr 2018 | 10,511.04 | 27 Apr 2018 | 10,635.67 | +1.0% |
| 19 Dec 2017 | 10,430.41 | 3 Jan 2018 | 10,466.93 | +0.1% |
| 1 Jan 2015 | 8,285.2 | 15 Jan 2015 | 8,411.86 | +1.3% |
| 19 Dec 2013 | 6,263.28 | 3 Jan 2014 | 6,185.26 | −1.5% |
| 22 Apr 2013 | 5,798.53 | 8 May 2013 | 6,055.05 | +4.2% |
From 30 Dec 2005 to 9 Nov 2026, these Bullish Engulfing at the 50-DMA rules on the Nifty 50 index returned a CAGR of −0.8% after costs, less than the 11.0% a year from buying and holding the index, with a worst fall of 14.8% against 59.9% for buy-and-hold. It made 15 trades and was invested 3% of the time. This is a hypothetical test on past data, not a recommendation, and past performance is not indicative of future results.
60.0%: 9 of 15 closed trades made money after charges and slippage. On a ₹10 lakh account the average winning trade made ₹11,282 and the average losing trade lost ₹41,658; the profit factor (gross profit ÷ gross loss) was 0.41. A high win rate with small wins can still lose money, so read it with the CAGR and drawdown.
Buy: A bullish engulfing candle whose range touches the 50-day SMA. Sell: After 10 sessions. 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 Nifty 50 index over the same dates returned 11.0% a year with a worst fall of 59.9%; the strategy returned −0.8% a year with a worst fall of 14.8%. 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.