SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Gran Tierra Energy Inc. backtest

10 trend-following strategies were compared on the full daily history of Gran Tierra Energy Inc.. 8 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 5.6%, MDD -45.2%).

Data 2005-12-21 ~ 2026-07-31daily bars 5,183 (20.6 years)Costs 0.5%Venue XASEMonthly snapshot 2026-07-31

Results by strategy

8 of 10 beat buy and hold (CAGR -6.0%, drawdown -98.1%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 13.4%, MDD -61.3%, Sharpe 0.51, 45% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 19.5%p higher than buy and hold, while drawdown improves by 36.8%p (CAGR 5.6%, MDD -45.2%, exposure 6%).

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=20, slow=226
13.4%-61.3%0.510.2213.4x2545%
EMA 크로스오버
fast=41, slow=111
12.0%-58.5%0.490.2110.4x2643%
Donchian 채널 돌파
entryN=105, exitN=72
9.8%-65.1%0.440.156.9x2240%
Keltner 채널 돌파
emaPeriod=31, atrPeriod=13, mult=3.5
8.4%-50.1%0.430.175.3x3011%
ROC 모멘텀
n=134, threshold=-0.09
8.7%-69.6%0.410.125.6x14152%
ADX / DI 방향성
period=37, threshold=23
5.6%-45.2%0.370.123.1x146%
볼린저 밴드 돌파
n=51, k=1.7
5.9%-76.7%0.340.083.3x10033%
Supertrend
period=9, mult=3.4
4.7%-85.7%0.320.052.6x10348%
Parabolic SAR
step=0.02, maxStep=0.14
-9.0%-97.8%0.03-0.090.1x41450%
MACD
fast=15, slow=62, signal=12
-12.0%-98.8%0.01-0.120.1x29753%
Buy and hold-6.0%-98.1%0.26-0.060.3x1100%
0.1 1x 10x 2006 2009 2012 2015 2018 2021 2024 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -25% -49% -74% -98% 2006 2009 2012 2015 2018 2021 2024 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -61.3% (2021-02-16 → 2021-11-30), recovered after 384 days.

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 setupMore US assetsAll asset reports

Read next