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 7.5%, MDD -40.7%).
Results by strategy
2 of 10 beat buy and hold (CAGR 3.1%, drawdown -68.6%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 7.5%, MDD -40.7%, Sharpe 0.40, 65% exposure.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 4.3%p higher than buy and hold, while drawdown improves by 27.9%p (CAGR 7.5%, MDD -40.7%, exposure 65%).
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=200, threshold=-0.06 |
7.5% | -40.7% | 0.40 | 0.18 | 2.3x | 71 | 65% |
| SMA 크로스오버 fast=52, slow=267 |
3.8% | -49.4% | 0.27 | 0.08 | 1.5x | 13 | 56% |
| EMA 크로스오버 fast=7, slow=205 |
2.5% | -56.2% | 0.23 | 0.04 | 1.3x | 35 | 54% |
| Keltner 채널 돌파 emaPeriod=4, atrPeriod=14, mult=3.1 |
0.2% | -2.1% | 0.22 | 0.07 | 1.0x | 2 | 0% |
| Donchian 채널 돌파 entryN=12, exitN=71 |
0.6% | -55.3% | 0.20 | 0.01 | 1.1x | 37 | 85% |
| ADX / DI 방향성 period=15, threshold=39 |
0.5% | -16.5% | 0.11 | 0.03 | 1.1x | 14 | 3% |
| 볼린저 밴드 돌파 n=19, k=3.4 |
0.4% | -17.1% | 0.09 | 0.02 | 1.0x | 10 | 3% |
| MACD fast=24, slow=58, signal=21 |
-2.1% | -67.4% | 0.07 | -0.03 | 0.8x | 102 | 50% |
| Supertrend period=26, mult=5 |
-2.5% | -54.1% | 0.06 | -0.05 | 0.7x | 39 | 53% |
| Parabolic SAR step=0.015, maxStep=0.16 |
-8.5% | -71.0% | -0.16 | -0.12 | 0.4x | 200 | 50% |
| Buy and hold | 3.1% | -68.6% | 0.28 | 0.05 | 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 200-day return is greater than -6%
- Sell — Sell when the 200-day return drops to -6% or below