Trend-Following Backtester · Guide · backtest 한국어

equity · CA

First Majestic Silver Corp. backtest

10 trend-following strategies were compared on the full daily history of First Majestic Silver Corp.. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester.

Data 1996-08-08 ~ 2026-07-31daily bars 7,533 (30.0 years)Costs 0.5%Venue TSXMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 14.6%, drawdown -97.9%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 11.4%, MDD -93.0%, Sharpe 0.48, 51% exposure.

CAGR reference leader: MACD — CAGR 25.0%, MDD -94.8%, exposure 52%.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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
SMA 크로스오버
fast=55, slow=66
11.4%-93.0%0.480.1225.6x17051%
ADX / DI 방향성
period=25, threshold=35
5.2%-23.2%0.470.224.5x102%
EMA 크로스오버
fast=99, slow=344
8.7%-80.8%0.450.1112.3x2551%
MACD
fast=40, slow=60, signal=24
25.0%-94.8%0.430.26794.1x18652%
Donchian 채널 돌파
entryN=65, exitN=67
-2.7%-98.9%0.33-0.030.4x6655%
ROC 모멘텀
n=111, threshold=-0.09
-2.6%-98.0%0.28-0.030.5x35660%
Parabolic SAR
step=0.005, maxStep=0.38
-5.6%-99.3%0.25-0.060.2x23047%
볼린저 밴드 돌파
n=43, k=1.2
-0.3%-99.5%0.23-0.000.9x21837%
Supertrend
period=16, mult=4.9
-11.9%-99.9%0.22-0.120.0x14649%
Keltner 채널 돌파
emaPeriod=51, atrPeriod=8, mult=2.1
-2.9%-99.0%0.22-0.030.4x17832%
Buy and hold14.6%-97.9%0.500.1559.8x1100%
0.1 1x 10x 100x 1,000x 1997 2001 2005 2009 2013 2017 2021 2025 MACDSMA 크로스오버Buy and hold
SMA 크로스오버 (Sharpe leader), MACD (CAGR reference), Buy and hold.
0% -24% -49% -73% -98% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdMACDSMA 크로스오버
SMA 크로스오버 maximum drawdown -93.0% (2016-08-09 → 2025-04-08), prior peak not yet recovered.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

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