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.3%, MDD -53.2%).
Results by strategy
1 of 10 beat buy and hold (CAGR 9.5%, drawdown -87.5%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 10.0%, MDD -57.3%, Sharpe 0.47, 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.3%, 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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| ROC 모멘텀 n=128, threshold=-0.03 |
10.0% | -57.3% | 0.47 | 0.17 | 68.8x | 339 | 64% |
| SMA 크로스오버 fast=16, slow=130 |
9.3% | -53.2% | 0.46 | 0.17 | 52.9x | 137 | 57% |
| Donchian 채널 돌파 entryN=95, exitN=51 |
8.4% | -50.9% | 0.45 | 0.17 | 36.8x | 81 | 45% |
| EMA 크로스오버 fast=23, slow=138 |
8.4% | -61.0% | 0.43 | 0.14 | 36.4x | 109 | 58% |
| MACD fast=19, slow=69, signal=10 |
8.4% | -67.8% | 0.42 | 0.12 | 35.9x | 527 | 52% |
| Parabolic SAR step=0.005, maxStep=0.08 |
7.3% | -72.0% | 0.39 | 0.10 | 23.1x | 367 | 53% |
| 볼린저 밴드 돌파 n=33, k=1.9 |
6.2% | -71.1% | 0.37 | 0.09 | 14.8x | 291 | 37% |
| Keltner 채널 돌파 emaPeriod=30, atrPeriod=27, mult=2.3 |
5.4% | -63.4% | 0.35 | 0.08 | 10.4x | 251 | 32% |
| Supertrend period=10, mult=2.9 |
5.8% | -73.1% | 0.34 | 0.08 | 12.5x | 355 | 54% |
| ADX / DI 방향성 period=34, threshold=15 |
3.4% | -64.4% | 0.26 | 0.05 | 4.5x | 219 | 30% |
| Buy and hold | 9.5% | -87.5% | 0.43 | 0.11 | 56.5x | 1 | 100% |
Rules of the top strategy
Rides the trend when recent return (momentum) over a window is above a threshold.
- Buy — Buy when the last 128-day return is greater than -3%
- Sell — Sell when the 128-day return drops to -3% or below