SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · IN

State Bank of India backtest

10 trend-following strategies were compared on the full daily history of State Bank of India. 1 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 12.3%, MDD -45.7%).

Data 1996-01-01 ~ 2026-09-30daily bars 7,716 (30.7 years)Costs 0.5%Venue NSEMonthly snapshot 2026-09-30

Results by strategy

1 of 10 beat buy and hold (CAGR 13.6%, drawdown -61.5%).

Sharpe leader (same as main): MACD — CAGR 12.3%, MDD -45.7%, Sharpe 0.58, 50% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 14.6%, MDD -59.8%, exposure 89%.

Return/drawdown alternative: MACD — CAGR is 1.3%p lower than buy and hold, while drawdown improves by 15.8%p (CAGR 12.3%, MDD -45.7%, exposure 50%).

The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.

Strategy · parametersCAGRMDDSharpeCalmarTotalTradesExposure
MACD
fast=11, slow=50, signal=15
12.3%-45.7%0.580.2735.7x36650%
Donchian 채널 돌파
entryN=8, exitN=78
14.6%-59.8%0.580.2466.7x8489%
Supertrend
period=10, mult=1.9
10.1%-52.8%0.500.1919.1x40451%
Parabolic SAR
step=0.045, maxStep=0.06
9.6%-54.1%0.490.1816.7x49453%
ROC 모멘텀
n=61, threshold=-0.03
9.3%-59.6%0.460.1615.4x32464%
볼린저 밴드 돌파
n=20, k=1.3
7.6%-55.6%0.440.149.6x40241%
Keltner 채널 돌파
emaPeriod=58, atrPeriod=21, mult=1.4
7.0%-46.8%0.400.158.0x21247%
EMA 크로스오버
fast=7, slow=168
7.3%-71.3%0.400.108.7x10262%
SMA 크로스오버
fast=8, slow=219
6.6%-68.3%0.370.107.1x8262%
ADX / DI 방향성
period=32, threshold=10
6.4%-69.0%0.370.096.8x36050%
Buy and hold13.6%-61.5%0.530.2250.7x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파MACDBuy and hold
MACD (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -15% -31% -46% -61% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파MACD
MACD maximum drawdown -45.7% (2010-10-01 → 2012-01-09), recovered after 1,127 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore IN assetsAll asset reports

Read next