Trend-Following Backtester · Guide · backtest 한국어

equity · CA

Pan American Silver Corp. backtest

10 trend-following strategies were compared on the full daily history of Pan American Silver Corp.. 1 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 7.4%, MDD -59.3%).

Data 1996-04-16 ~ 2026-07-31daily bars 7,612 (30.3 years)Costs 0.5%Venue TSXMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 5.4%, drawdown -81.5%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 7.4%, MDD -59.3%, Sharpe 0.38, 53% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 2.0%p higher than buy and hold, while drawdown improves by 22.2%p (CAGR 7.4%, MDD -59.3%, exposure 53%).

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
EMA 크로스오버
fast=112, slow=314
7.4%-59.3%0.380.128.6x1753%
SMA 크로스오버
fast=42, slow=179
3.2%-58.7%0.260.052.6x5048%
Donchian 채널 돌파
entryN=122, exitN=64
3.4%-63.3%0.260.052.7x3835%
Keltner 채널 돌파
emaPeriod=38, atrPeriod=11, mult=3.5
2.6%-40.5%0.230.062.2x6215%
볼린저 밴드 돌파
n=51, k=3.3
2.1%-46.7%0.210.041.9x227%
ROC 모멘텀
n=131, threshold=0.13
0.9%-67.2%0.180.011.3x23435%
ADX / DI 방향성
period=26, threshold=17
-0.7%-70.1%0.08-0.010.8x14819%
MACD
fast=17, slow=46, signal=15
-4.2%-89.3%0.06-0.050.3x38750%
Supertrend
period=17, mult=4.4
-5.4%-87.9%0.01-0.060.2x13049%
Parabolic SAR
step=0.02, maxStep=0.26
-7.4%-97.0%-0.04-0.080.1x65850%
Buy and hold5.4%-81.5%0.360.074.9x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -41% -61% -82% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -59.3% (1998-02-04 → 2001-11-19), recovered after 1,568 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

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