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%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| ROC 모멘텀 n=121, threshold=-0.06 |
11.3% | -70.8% | 0.50 | 0.16 | 118.1x | 325 | 68% |
| Donchian 채널 돌파 entryN=92, exitN=41 |
8.9% | -55.1% | 0.47 | 0.16 | 44.5x | 93 | 42% |
| SMA 크로스오버 fast=7, slow=144 |
9.8% | -59.7% | 0.47 | 0.16 | 66.0x | 169 | 58% |
| EMA 크로스오버 fast=54, slow=99 |
9.7% | -54.6% | 0.47 | 0.18 | 63.2x | 85 | 58% |
| MACD fast=13, slow=55, signal=17 |
8.9% | -69.3% | 0.43 | 0.13 | 44.9x | 524 | 52% |
| 볼린저 밴드 돌파 n=32, k=1.8 |
7.6% | -61.7% | 0.43 | 0.12 | 26.9x | 315 | 38% |
| Parabolic SAR step=0.005, maxStep=0.08 |
7.7% | -72.0% | 0.40 | 0.11 | 27.7x | 368 | 53% |
| Supertrend period=15, mult=2.9 |
7.3% | -62.5% | 0.39 | 0.12 | 23.7x | 349 | 53% |
| Keltner 채널 돌파 emaPeriod=30, atrPeriod=14, mult=2.3 |
5.7% | -62.8% | 0.36 | 0.09 | 11.8x | 249 | 33% |
| ADX / DI 방향성 period=33, threshold=15 |
4.1% | -63.8% | 0.29 | 0.06 | 6.1x | 239 | 31% |
| Buy and hold | 10.0% | -87.5% | 0.44 | 0.11 | 70.0x | 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 121-day return is greater than -6%
- Sell — Sell when the 121-day return drops to -6% or below