Trend-Following Backtester · Guide · backtest 한국어
equity · US
Plains All American Pipeline, L.P. backtest
10 trend-following strategies were compared on the full daily history of Plains All American Pipeline, L.P.. 5 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 3.3%, MDD -45.7%).
Results by strategy
5 of 10 beat buy and hold (CAGR 3.1%, drawdown -94.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 8.2%, MDD -48.6%, Sharpe 0.50, 62% exposure.
Return/drawdown alternative: Supertrend — CAGR is 5.1%p higher than buy and hold, while drawdown improves by 46.0%p (CAGR 3.3%, MDD -45.7%, exposure 51%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=52, slow=134 |
8.2% | -48.6% | 0.50 | 0.17 | 9.0x | 41 | 62% |
| EMA 크로스오버 fast=40, slow=129 |
5.8% | -48.6% | 0.39 | 0.12 | 4.8x | 45 | 64% |
| Donchian 채널 돌파 entryN=67, exitN=98 |
5.8% | -48.9% | 0.38 | 0.12 | 4.9x | 29 | 68% |
| ADX / DI 방향성 period=29, threshold=27 |
1.0% | -10.7% | 0.31 | 0.10 | 1.3x | 10 | 5% |
| ROC 모멘텀 n=134, threshold=-0.04 |
3.6% | -49.1% | 0.28 | 0.07 | 2.7x | 163 | 70% |
| Supertrend period=4, mult=4.9 |
3.3% | -45.7% | 0.27 | 0.07 | 2.5x | 85 | 51% |
| 볼린저 밴드 돌파 n=15, k=3 |
0.6% | -11.0% | 0.24 | 0.05 | 1.2x | 12 | 2% |
| Keltner 채널 돌파 emaPeriod=47, atrPeriod=15, mult=0.8 |
-2.3% | -69.4% | -0.05 | -0.03 | 0.5x | 284 | 50% |
| Parabolic SAR step=0.015, maxStep=0.12 |
-6.4% | -93.3% | -0.22 | -0.07 | 0.2x | 482 | 56% |
| MACD fast=9, slow=68, signal=10 |
-9.1% | -97.1% | -0.36 | -0.09 | 0.1x | 536 | 52% |
| Buy and hold | 3.1% | -94.6% | 0.27 | 0.03 | 2.4x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 52-day average price crosses above the 134-day average
- Sell — Sell (to cash) when the 52-day average falls below the 134-day average