StrategyLab

Golden cross (50/200 SMA)

Hold while the 50-day average is above the 200-day. The slow, famous one.

Trend followingMonthsBeginnerTested on 10 stocks & indices

₹1 lakh in BANKNIFTY, Nov 2011 → Nov 2026

19 Nov 2011 → 19 Nov 2026
Buy & hold Best
₹7.36 L
XIRR 14.2% · Worst fall −47.9%
Golden cross 50/200
₹2.96 L
XIRR 7.5% · Worst fall −45.6% · 11 trades, 55% won
₹0₹2L₹4L₹6L20112013201520172019202120232025
Money investedGolden cross 50/200Buy & hold

The idea

When the 50-day simple moving average crosses above the 200-day, business channels call it a “golden cross”; the opposite is a “death cross”. It trades rarely and aims to keep you out of long bear markets like 2008.

The rules

Buy
50-day SMA is above the 200-day SMA (golden cross)
Sell
50-day SMA falls below the 200-day SMA (death cross)
Size
All capital; idle cash earns 6%
Prompt to paste in the Lab

₹1 lakh in BANKNIFTY. Hold while the 50-day average is above the 200-day average, sell on the death cross. Idle cash earns 6%, 0.2% cost per trade. Compare with buy and hold over the last 15 years.

Test it in the Lab

Verdict across 10 stocks and indices

One stock can flatter any rule. The same rules on more names show whether it is an edge or luck.

1/10higher XIRR than buy & hold
9/10smaller worst fall

Golden cross 50/200: on average 5.33 points a year worse than buy & hold on XIRR, with a worst fall 9.8 points smaller.

Stock / indexBuy & holdGolden cross 50/200TradesWonTime in market
XIRRWorst fallXIRRWorst fall
NIFTY5011.8%−38.4%6.1%−37.3%1145%72%
BANKNIFTY14.2%−47.9%7.5%−45.6%1155%74%
RELIANCE15.3%−45.1%8.5%−45.1%1155%72%
HDFCBANK15.3%−41.1%10.7%−32.7%1191%76%
ICICIBANK19.3%−51.5%12.1%−48.3%875%73%
TCS12.9%−53.4%12.5%−27.9%850%74%
INFY11.1%−48.2%1.9%−42.0%1331%61%
SBIN15.2%−59.5%6.9%−51.9%1354%66%
ITC9.2%−55.3%10.4%−33.6%1050%63%
LT16.2%−54.4%10.5%−32.3%1250%70%

Each row is a separate backtest, 19 Nov 2011 → 19 Nov 2026. Green marks the best value in the row. Worst fall is the maximum drawdown: the largest drop from a peak in portfolio value.

Real trades, real dates

From the BANKNIFTY backtest above: the median winner and loser. Exits are checked on closing prices, so a gap can push a loss past the stop-loss.

A typical winning trade

Bought BANKNIFTY5 Nov 2020at ₹26,312.79
512 days
Sold1 Apr 2022at ₹37,148.07

₹1,49,553 in → ₹2,10,293 out · +40.6% after costs

A typical losing trade

Bought BANKNIFTY20 Aug 2026at ₹57,495.9
34 days
Sold23 Sep 2026at ₹56,548.9

₹2,99,250 in → ₹2,93,145 out · −2.0% after costs

Last 8 trades
BoughtPriceSoldPriceDaysResult
20 Aug 2026₹57,495.923 Sep 2026₹56,548.934−2.0%
9 May 2025₹53,595.2517 Apr 2026₹56,565.7343+5.1%
1 Sep 2022₹39,300.795 Feb 2025₹50,343.05888+27.6%
5 Nov 2020₹26,312.791 Apr 2022₹37,148.07512+40.6%
21 Nov 2019₹31,349.5819 Mar 2020₹20,083.27119−36.2%
3 Jan 2019₹26,959.5419 Sep 2019₹26,757.34259−1.1%
24 May 2018₹26,016.57 Nov 2018₹25,769.4167−1.3%
6 Jun 2016₹17,671.219 Apr 2018₹25,125.86682+41.6%

Tends to work

  • Multi-year bear markets (2008)
  • Investors who want very few trades

Tends to fail

  • Fast crashes and fast recoveries (2020): exits near the bottom, re-enters months later
  • Sideways years with several false crosses

Make it yours

Click one to open it in the Lab, or write your own twist in plain English.

Assumptions and the exact spec the engine ran
  • ₹1,00,000 invested once; each trade uses all available cash
  • 0.2% cost on every buy and every sell (STT, brokerage, exchange charges, stamp duty)
  • Cash waiting between trades earns 6% a year, like a liquid fund
  • Prices are daily closes; indices are price indices (no dividends), stock prices include dividends
  • Taxes are not deducted
  • Signals are filled at the next day's close.
  • The stock list is today's, so stocks that were delisted or shrank are missing (survivorship bias).
{
  "title": "Golden cross 50/200: BANKNIFTY",
  "years": 15,
  "cost_pct": 0.2,
  "assumptions": [
    "₹1,00,000 invested once; each trade uses all available cash",
    "0.2% cost on every buy and every sell (STT, brokerage, exchange charges, stamp duty)",
    "Cash waiting between trades earns 6% a year, like a liquid fund",
    "Prices are daily closes; indices are price indices (no dividends), stock prices include dividends",
    "Taxes are not deducted"
  ],
  "strategies": [
    {
      "name": "Buy & hold",
      "symbol": "BANKNIFTY",
      "contribution": {
        "amount": 100000,
        "every": "once"
      },
      "buy": {
        "when": "on_contribution"
      }
    },
    {
      "name": "Golden cross 50/200",
      "symbol": "BANKNIFTY",
      "contribution": {
        "amount": 100000,
        "every": "once"
      },
      "cash_interest_pct": 6,
      "buy": {
        "when": "signal",
        "check": "daily",
        "condition": {
          "type": "ma_cross",
          "fast": 50,
          "slow": 200,
          "ma": "sma",
          "op": ">",
          "value": 0
        },
        "amount": "all_cash"
      },
      "sell": {
        "check": "daily",
        "condition": {
          "type": "ma_cross",
          "fast": 50,
          "slow": 200,
          "ma": "sma",
          "op": "<",
          "value": 0
        },
        "fraction": 1
      }
    }
  ]
}

Keep researching

All strategies