Trend-Following Backtester · Guide · backtest 한국어
equity · US
Union Pacific Corporation backtest
10 trend-following strategies were compared on the full daily history of Union Pacific Corporation. 0 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 7.8%, MDD -47.0%).
Results by strategy
0 of 10 beat buy and hold (CAGR 10.1%, drawdown -67.5%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 7.6%, MDD -45.0%, Sharpe 0.47, 65% exposure.
CAGR reference leader: EMA 크로스오버 — CAGR 7.8%, MDD -47.0%, exposure 69%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 2.5%p lower than buy and hold, while drawdown improves by 22.5%p (CAGR 7.8%, MDD -47.0%, exposure 69%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=71, exitN=82 |
7.6% | -45.0% | 0.47 | 0.17 | 30.1x | 59 | 65% |
| EMA 크로스오버 fast=66, slow=123 |
7.8% | -47.0% | 0.46 | 0.17 | 33.4x | 55 | 69% |
| ROC 모멘텀 n=148, threshold=-0.09 |
7.7% | -52.7% | 0.44 | 0.15 | 32.4x | 193 | 81% |
| SMA 크로스오버 fast=10, slow=171 |
6.8% | -45.4% | 0.43 | 0.15 | 21.5x | 135 | 68% |
| 볼린저 밴드 돌파 n=17, k=3.3 |
0.9% | -19.9% | 0.24 | 0.04 | 1.5x | 22 | 2% |
| Keltner 채널 돌파 emaPeriod=15, atrPeriod=21, mult=4 |
0.7% | -17.2% | 0.19 | 0.04 | 1.4x | 16 | 2% |
| Supertrend period=7, mult=5 |
1.7% | -78.9% | 0.18 | 0.02 | 2.2x | 162 | 60% |
| ADX / DI 방향성 period=36, threshold=34 |
0.2% | -16.9% | 0.08 | 0.01 | 1.1x | 4 | 0% |
| Parabolic SAR step=0.005, maxStep=0.34 |
-2.0% | -88.8% | -0.01 | -0.02 | 0.4x | 418 | 56% |
| MACD fast=28, slow=36, signal=23 |
-2.0% | -88.3% | -0.02 | -0.02 | 0.4x | 476 | 49% |
| Buy and hold | 10.1% | -67.5% | 0.49 | 0.15 | 89.8x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 71 days
- Sell — Sell when price breaks below the lowest low of the last 82 days