SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Valero Energy Corporation backtest

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

Data 1982-01-04 ~ 2026-09-30daily bars 11,276 (44.7 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-09-30

Results by strategy

1 of 10 beat buy and hold (CAGR 10.0%, drawdown -87.5%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 11.3%, MDD -70.8%, Sharpe 0.50, 68% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.3%p higher than buy and hold, while drawdown improves by 16.7%p (CAGR 9.7%, MDD -54.6%, exposure 58%).

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
ROC 모멘텀
n=121, threshold=-0.06
11.3%-70.8%0.500.16118.1x32568%
Donchian 채널 돌파
entryN=92, exitN=41
8.9%-55.1%0.470.1644.5x9342%
SMA 크로스오버
fast=7, slow=144
9.8%-59.7%0.470.1666.0x16958%
EMA 크로스오버
fast=54, slow=99
9.7%-54.6%0.470.1863.2x8558%
MACD
fast=13, slow=55, signal=17
8.9%-69.3%0.430.1344.9x52452%
볼린저 밴드 돌파
n=32, k=1.8
7.6%-61.7%0.430.1226.9x31538%
Parabolic SAR
step=0.005, maxStep=0.08
7.7%-72.0%0.400.1127.7x36853%
Supertrend
period=15, mult=2.9
7.3%-62.5%0.390.1223.7x34953%
Keltner 채널 돌파
emaPeriod=30, atrPeriod=14, mult=2.3
5.7%-62.8%0.360.0911.8x24933%
ADX / DI 방향성
period=33, threshold=15
4.1%-63.8%0.290.066.1x23931%
Buy and hold10.0%-87.5%0.440.1170.0x1100%
1x 10x 100x 1983 1989 1995 2001 2007 2013 2019 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -22% -44% -66% -88% 1983 1989 1995 2001 2007 2013 2019 2025 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -70.8% (1992-02-21 → 1999-06-22), recovered after 4,444 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 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