Skip to content
← All strategies
Indian marketsHDFCBANK.NSDaily · long only

20/50 Moving Average Crossover on HDFC Bank

₹1,00,000 invested on 2016-11-17 would be worth

₹1,01,780

Just holding HDFCBANK.NS: ₹2,92,588

  • Profit ₹1,780
  • Holding made ₹1,90,807 more
  • Only 28 trades: a first look
Strategy Holding10 yrs · daily
Total return
+1.8%
holding +193%
Win rate
32%
9 won · 19 lost
Trades
28
small sample
Max drawdown
-43%
-₹73,509
Profit factor
1.14
won ÷ lost
Test period
-8%
holding +12%

The verdict

Does the 20/50 moving average crossover work on HDFC Bank? Over 2016-11-17 to 2026-11-17 buying when the 20-day average crossed above the 50-day average and selling when it crossed back below returned +2%, against +193% for simply holding HDFC Bank. It made 28…

Right now: In a trade as of the 2026-11-17 close.

The rules

  1. 1Market: HDFC Bank (HDFCBANK.NS), daily bars, long only
  2. 2Enter when the 20-day average crosses above the 50-day average
  3. 3Exit when the 20-day average falls back below the 50-day average
  4. 4Signals on the close, filled at the next open

Growth over 10 years

The strategy against simply holding HDFCBANK.NS, drawdown underneath. Everything after “Test period” was held back when the rules were judged.

Loading chart…

Where the profit and loss came from

₹1,00,000 from 2016-11-17 to 2026-11-17, after fees and slippage. Trailed holding HDFCBANK.NS by ₹1,90,807.

Net profit
+₹1,780
+2%
Total won (winning trades)
+₹91,603
9 trades
Total lost (losing trades)
−₹89,823
19 trades
Win rate
32%
9 won · 19 lost
Average win
+9.0%
per winning trade
Average loss
-3.8%
per losing trade
Best trade
+₹33,882
+27.4%
Worst trade
−₹15,756
-11.4%
Biggest fall from a high
−₹73,509
the worst point you would have sat through
Average time in a trade
69 days

Hypothetical: the whole amount goes into each trade and profits are reinvested. Taxes and brokerage minimums are not included. Not advice.

Research, not advice. Results are hypothetical, use simplified assumptions and delayed daily prices. Past performance does not indicate future results. Risk disclosure.