SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

etf · IN

Nippon India ETF Nifty Midcap 150 backtest

10 trend-following strategies were compared on the full daily history of Nippon India ETF Nifty Midcap 150. 1 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 19.5%, MDD -15.0%).

Data 2019-02-04 ~ 2026-09-30daily bars 1,776 (7.7 years)Costs 0.5%Venue NSEMonthly snapshot 2026-09-30

Results by strategy

1 of 10 beat buy and hold (CAGR 18.9%, drawdown -38.4%).

Sharpe leader (same as main): Supertrend — CAGR 19.5%, MDD -15.0%, Sharpe 1.52, 76% exposure.

Return/drawdown alternative: Supertrend — CAGR is 0.5%p higher than buy and hold, while drawdown improves by 23.4%p (CAGR 19.5%, MDD -15.0%, exposure 76%).

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
Supertrend
period=36, mult=3.7
19.5%-15.0%1.521.303.9x1076%
ADX / DI 방향성
period=61, threshold=9
18.0%-21.2%1.520.853.5x1058%
Keltner 채널 돌파
emaPeriod=56, atrPeriod=28, mult=1.4
15.5%-12.2%1.451.263.0x2255%
ROC 모멘텀
n=85, threshold=0.07
15.0%-15.4%1.430.972.9x4052%
EMA 크로스오버
fast=8, slow=88
18.2%-15.1%1.431.213.6x1875%
볼린저 밴드 돌파
n=55, k=1.7
15.5%-14.0%1.421.113.0x2856%
SMA 크로스오버
fast=11, slow=88
17.7%-18.3%1.420.973.5x2471%
Donchian 채널 돌파
entryN=55, exitN=43
15.8%-24.9%1.340.643.1x867%
MACD
fast=19, slow=54, signal=10
14.0%-14.5%1.280.962.7x7850%
Parabolic SAR
step=0.005, maxStep=0.02
12.5%-26.1%1.060.482.5x4265%
Buy and hold18.9%-38.4%0.990.493.8x1100%
1x 2020 2021 2022 2023 2024 2025 2026 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -10% -19% -29% -38% 2020 2021 2022 2023 2024 2025 2026 Buy and holdSupertrend
Supertrend maximum drawdown -15.0% (2021-10-18 → 2023-03-28), recovered after 603 days.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

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