Trend-Following Backtester · Guide · backtest 한국어

equity · US

HF Sinclair Corporation backtest

10 trend-following strategies were compared on the full daily history of HF Sinclair Corporation. 3 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 11.9%, MDD -66.5%).

Data 1980-03-17 ~ 2026-07-31daily bars 11,688 (46.4 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

3 of 10 beat buy and hold (CAGR 14.3%, drawdown -86.2%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 19.5%, MDD -71.0%, Sharpe 0.75, 55% exposure.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 5.1%p higher than buy and hold, while drawdown improves by 15.2%p (CAGR 11.9%, MDD -66.5%, exposure 44%).

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=49, slow=131
19.5%-71.0%0.750.273826.9x7955%
Donchian 채널 돌파
entryN=98, exitN=78
15.3%-71.5%0.640.21731.9x6351%
EMA 크로스오버
fast=57, slow=106
15.0%-75.9%0.620.20664.1x7557%
ROC 모멘텀
n=141, threshold=0.1
11.9%-66.5%0.550.18180.5x30944%
Supertrend
period=28, mult=4.6
12.4%-69.9%0.550.18226.7x23552%
ADX / DI 방향성
period=29, threshold=24
6.9%-39.6%0.510.1721.6x10114%
Keltner 채널 돌파
emaPeriod=65, atrPeriod=21, mult=1.7
9.1%-80.0%0.460.1157.8x28344%
볼린저 밴드 돌파
n=46, k=2.4
7.3%-54.2%0.440.1326.0x15127%
Parabolic SAR
step=0.005, maxStep=0.36
6.8%-83.0%0.370.0821.5x37152%
MACD
fast=9, slow=56, signal=11
2.6%-71.0%0.230.043.3x78551%
Buy and hold14.3%-86.2%0.530.17501.1x1100%
1x 10x 100x 1,000x 1981 1987 1993 1999 2005 2011 2017 2023 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -22% -43% -65% -86% 1981 1987 1993 1999 2005 2011 2017 2023 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -71.0% (1989-04-28 → 1999-12-15), recovered after 4,415 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 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