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 SMA 크로스오버 (CAGR 9.6%, MDD -53.2%).

Data 1982-01-04 ~ 2026-08-31daily bars 11,255 (44.7 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

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

Sharpe leader (same as main): ROC 모멘텀 — CAGR 10.3%, MDD -57.3%, Sharpe 0.48, 64% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.5%p higher than buy and hold, while drawdown improves by 30.2%p (CAGR 9.6%, MDD -53.2%, exposure 57%).

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=128, threshold=-0.03
10.3%-57.3%0.480.1878.9x33964%
SMA 크로스오버
fast=16, slow=130
9.6%-53.2%0.470.1860.6x13757%
Donchian 채널 돌파
entryN=95, exitN=51
8.7%-50.9%0.460.1742.2x8146%
EMA 크로스오버
fast=23, slow=138
8.7%-61.0%0.440.1441.8x10958%
MACD
fast=19, slow=69, signal=10
8.5%-67.8%0.420.1338.2x52952%
Parabolic SAR
step=0.005, maxStep=0.08
7.6%-72.0%0.400.1126.5x36753%
볼린저 밴드 돌파
n=33, k=1.9
6.5%-71.1%0.390.0916.9x29137%
Keltner 채널 돌파
emaPeriod=30, atrPeriod=27, mult=2.3
5.7%-63.4%0.360.0911.9x25132%
Supertrend
period=10, mult=2.9
6.1%-73.1%0.350.0814.4x35554%
ADX / DI 방향성
period=34, threshold=15
3.7%-64.4%0.280.065.2x21930%
Buy and hold9.8%-87.5%0.430.1164.8x1100%
1x 10x 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 -57.3% (1992-02-21 → 2000-02-15), recovered after 4,611 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 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 setupMore US assetsAll asset reports

Read next