Trend-Following Backtester · Guide · backtest 한국어

equity · IN

Shilpa Medicare Limited backtest

10 trend-following strategies were compared on the full daily history of Shilpa Medicare Limited. 1 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 15.4%, MDD -53.3%).

Data 2009-12-03 ~ 2026-07-31daily bars 4,115 (16.7 years)Costs 0.5%Venue NSEMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 19.2%, drawdown -72.9%).

Sharpe leader (same as main): Supertrend — CAGR 24.1%, MDD -61.2%, Sharpe 0.80, 63% exposure.

Return/drawdown alternative: MACD — CAGR is 4.9%p higher than buy and hold, while drawdown improves by 11.8%p (CAGR 15.4%, MDD -53.3%, exposure 48%).

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=22, mult=4.9
24.1%-61.2%0.800.3936.5x3163%
ROC 모멘텀
n=79, threshold=0.12
16.0%-57.9%0.690.2811.9x14137%
SMA 크로스오버
fast=53, slow=104
15.3%-53.6%0.630.2910.7x4152%
MACD
fast=9, slow=26, signal=19
15.4%-53.3%0.610.2910.9x22848%
EMA 크로스오버
fast=58, slow=60
14.7%-67.4%0.600.229.8x3754%
Donchian 채널 돌파
entryN=55, exitN=62
14.4%-68.7%0.590.219.4x2554%
Parabolic SAR
step=0.01, maxStep=0.14
13.9%-72.7%0.570.198.8x20251%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=17, mult=1.4
12.4%-67.3%0.560.187.0x8541%
ADX / DI 방향성
period=29, threshold=22
9.9%-52.5%0.540.194.8x5127%
볼린저 밴드 돌파
n=31, k=3.2
8.4%-44.8%0.520.193.9x4719%
Buy and hold19.2%-72.9%0.620.2618.8x1100%
1x 10x 2010 2013 2016 2019 2022 2025 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -18% -36% -55% -73% 2010 2013 2016 2019 2022 2025 Buy and holdSupertrend
Supertrend maximum drawdown -61.2% (2016-12-21 → 2019-10-14), recovered after 1,328 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 40 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 setupAll asset reports

Read next