Trend-Following Backtester · Guide · backtest 한국어
equity · US
Sunrun Inc. backtest
10 trend-following strategies were compared on the full daily history of Sunrun Inc.. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 6.9%, MDD -15.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -2.9%, drawdown -94.1%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 6.9%, MDD -15.9%, Sharpe 0.64, 3% exposure.
CAGR reference leader: Keltner 채널 돌파 — CAGR 15.6%, MDD -49.7%, exposure 18%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 9.8%p higher than buy and hold, while drawdown improves by 78.2%p (CAGR 6.9%, MDD -15.9%, exposure 3%).
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 |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=18, k=3.5 |
6.9% | -15.9% | 0.64 | 0.43 | 2.1x | 4 | 3% |
| Keltner 채널 돌파 emaPeriod=30, atrPeriod=28, mult=2.9 |
15.6% | -49.7% | 0.62 | 0.31 | 5.0x | 30 | 18% |
| ADX / DI 방향성 period=19, threshold=35 |
7.1% | -18.6% | 0.59 | 0.38 | 2.2x | 10 | 4% |
| Donchian 채널 돌파 entryN=112, exitN=5 |
9.2% | -28.6% | 0.54 | 0.32 | 2.7x | 28 | 10% |
| MACD fast=26, slow=64, signal=20 |
9.7% | -81.4% | 0.45 | 0.12 | 2.8x | 83 | 52% |
| SMA 크로스오버 fast=17, slow=22 |
5.4% | -85.4% | 0.37 | 0.06 | 1.8x | 174 | 51% |
| Parabolic SAR step=0.01, maxStep=0.12 |
2.4% | -89.2% | 0.32 | 0.03 | 1.3x | 146 | 48% |
| Supertrend period=16, mult=2.7 |
0.2% | -84.2% | 0.27 | 0.00 | 1.0x | 86 | 41% |
| ROC 모멘텀 n=119, threshold=0.02 |
-1.0% | -85.1% | 0.22 | -0.01 | 0.9x | 116 | 42% |
| EMA 크로스오버 fast=28, slow=217 |
-0.0% | -79.1% | 0.22 | -0.00 | 1.0x | 18 | 38% |
| Buy and hold | -2.9% | -94.1% | 0.36 | -0.03 | 0.7x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 18-day average (3.5× volatility)
- Sell — Sell when the close falls back to the 18-day middle average