Trend-Following Backtester · Guide · backtest 한국어
equity · US
Box, Inc. backtest
10 trend-following strategies were compared on the full daily history of Box, Inc.. 2 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 5.9%, MDD -45.1%).
Results by strategy
2 of 10 beat buy and hold (CAGR 2.6%, drawdown -68.6%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 5.9%, MDD -45.1%, Sharpe 0.34, 67% exposure.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 3.3%p higher than buy and hold, while drawdown improves by 23.5%p (CAGR 5.9%, MDD -45.1%, exposure 67%).
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=197, threshold=-0.09 |
5.9% | -45.1% | 0.34 | 0.13 | 1.9x | 51 | 67% |
| ADX / DI 방향성 period=23, threshold=33 |
0.8% | -11.4% | 0.29 | 0.07 | 1.1x | 4 | 1% |
| SMA 크로스오버 fast=77, slow=217 |
3.2% | -51.7% | 0.25 | 0.06 | 1.4x | 16 | 55% |
| EMA 크로스오버 fast=13, slow=175 |
1.3% | -55.7% | 0.19 | 0.02 | 1.2x | 35 | 54% |
| Keltner 채널 돌파 emaPeriod=11, atrPeriod=20, mult=3.6 |
0.2% | -5.9% | 0.10 | 0.04 | 1.0x | 6 | 2% |
| Donchian 채널 돌파 entryN=31, exitN=63 |
-1.9% | -51.8% | 0.09 | -0.04 | 0.8x | 31 | 67% |
| Supertrend period=26, mult=5 |
-3.0% | -54.1% | 0.04 | -0.06 | 0.7x | 39 | 52% |
| 볼린저 밴드 돌파 n=15, k=3.2 |
-0.1% | -13.7% | 0.01 | -0.01 | 1.0x | 8 | 2% |
| MACD fast=21, slow=22, signal=18 |
-5.9% | -62.5% | -0.06 | -0.09 | 0.5x | 153 | 53% |
| Parabolic SAR step=0.06, maxStep=0.14 |
-7.1% | -70.1% | -0.11 | -0.10 | 0.4x | 347 | 50% |
| Buy and hold | 2.6% | -68.6% | 0.27 | 0.04 | 1.4x | 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 197-day return is greater than -9%
- Sell — Sell when the 197-day return drops to -9% or below