Trend-Following Backtester · Guide · backtest 한국어

equity · US

Marathon Petroleum Corporation backtest

10 trend-following strategies were compared on the full daily history of Marathon Petroleum Corporation. 3 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 21.3%, MDD -34.3%).

Data 2011-06-24 ~ 2026-07-31daily bars 3,797 (15.1 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

3 of 10 beat buy and hold (CAGR 20.6%, drawdown -80.8%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 27.4%, MDD -49.7%, Sharpe 0.86, 93% exposure.

Return/drawdown alternative: MACD — CAGR is 6.8%p higher than buy and hold, while drawdown improves by 31.1%p (CAGR 21.3%, MDD -34.3%, exposure 52%).

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
Donchian 채널 돌파
entryN=3, exitN=77
27.4%-49.7%0.860.5538.7x4793%
MACD
fast=9, slow=39, signal=23
21.3%-34.3%0.860.6218.6x19352%
ROC 모멘텀
n=141, threshold=-0.09
22.2%-47.7%0.850.4620.6x7377%
볼린저 밴드 돌파
n=25, k=2.3
14.7%-30.4%0.810.487.9x7931%
EMA 크로스오버
fast=18, slow=219
17.2%-45.0%0.750.3811.0x2769%
Keltner 채널 돌파
emaPeriod=21, atrPeriod=14, mult=2.2
12.4%-22.3%0.740.555.8x7329%
Supertrend
period=18, mult=2.4
17.3%-43.3%0.720.4011.2x13759%
SMA 크로스오버
fast=19, slow=213
14.6%-60.7%0.670.247.8x2967%
Parabolic SAR
step=0.015, maxStep=0.12
11.2%-56.6%0.530.205.0x27856%
ADX / DI 방향성
period=16, threshold=16
9.6%-45.5%0.520.214.0x20943%
Buy and hold20.6%-80.8%0.680.2516.9x1100%
1x 10x 2012 2014 2016 2018 2020 2022 2024 2026 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -40% -61% -81% 2012 2014 2016 2018 2020 2022 2024 2026 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -49.7% (2018-10-03 → 2020-04-03), recovered after 611 days.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next