Trend-Following Backtester · Guide · backtest 한국어

equity · IN

Mazagon Dock Shipbuilders Ltd. backtest

10 trend-following strategies were compared on the full daily history of Mazagon Dock Shipbuilders Ltd.. 0 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 72.0%, MDD -34.8%).

Data 2020-10-12 ~ 2026-07-31daily bars 1,439 (5.8 years)Costs 0.5%Venue NSEMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 77.2%, drawdown -44.9%).

Sharpe leader (same as main): MACD — CAGR 66.1%, MDD -37.2%, Sharpe 1.54, 45% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 72.0%, MDD -34.8%, exposure 73%.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 11.1%p lower than buy and hold, while drawdown improves by 7.8%p (CAGR 72.0%, MDD -34.8%, exposure 73%).

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=18, slow=51, signal=21
66.1%-37.2%1.541.7818.9x4445%
SMA 크로스오버
fast=12, slow=23
67.7%-45.8%1.471.4820.1x5654%
ROC 모멘텀
n=145, threshold=-0.02
72.0%-34.8%1.432.0723.2x3073%
EMA 크로스오버
fast=42, slow=214
69.6%-35.0%1.411.9921.4x474%
볼린저 밴드 돌파
n=27, k=1
56.9%-34.1%1.351.6713.6x5845%
Keltner 채널 돌파
emaPeriod=24, atrPeriod=25, mult=1.6
47.3%-33.8%1.251.409.5x4035%
Supertrend
period=16, mult=4.8
52.2%-46.6%1.201.1211.4x1664%
Donchian 채널 돌파
entryN=60, exitN=16
40.9%-35.0%1.181.177.3x2029%
ADX / DI 방향성
period=21, threshold=37
25.5%-19.8%1.171.293.7x612%
Parabolic SAR
step=0.015, maxStep=0.34
34.1%-45.2%0.950.755.5x9651%
Buy and hold77.2%-44.9%1.401.7227.6x1100%
1x 10x 2021 2022 2023 2024 2025 2026 ROC 모멘텀MACDBuy and hold
MACD (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -11% -22% -34% -45% 2021 2022 2023 2024 2025 2026 Buy and holdROC 모멘텀MACD
MACD maximum drawdown -37.2% (2025-05-29 → 2026-07-09), prior peak not yet recovered.

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 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