Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Companhia Brasileira de Distribuicao backtest
10 trend-following strategies were compared on the full daily history of Companhia Brasileira de Distribuicao. 9 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 0.3%, MDD -65.2%).
Results by strategy
9 of 10 beat buy and hold (CAGR -2.2%, drawdown -96.5%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 2.3%, MDD -71.8%, Sharpe 0.22, 86% exposure.
CAGR reference leader: MACD — CAGR 2.8%, MDD -72.8%, exposure 39%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 4.5%p higher than buy and hold, while drawdown improves by 24.7%p (CAGR 0.3%, MDD -65.2%, exposure 44%).
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=27, threshold=-0.04 |
2.3% | -71.8% | 0.22 | 0.03 | 1.8x | 134 | 86% |
| MACD fast=15, slow=45, signal=15 |
2.8% | -72.8% | 0.22 | 0.04 | 2.1x | 114 | 39% |
| Supertrend period=25, mult=2.7 |
1.0% | -77.1% | 0.17 | 0.01 | 1.3x | 80 | 64% |
| Parabolic SAR step=0.005, maxStep=0.36 |
0.3% | -72.0% | 0.15 | 0.00 | 1.1x | 66 | 56% |
| Donchian 채널 돌파 entryN=117, exitN=70 |
-1.7% | -83.4% | 0.14 | -0.02 | 0.6x | 30 | 61% |
| SMA 크로스오버 fast=28, slow=219 |
-2.2% | -91.0% | 0.12 | -0.02 | 0.6x | 25 | 32% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=14, mult=4 |
-0.4% | -77.4% | 0.09 | -0.00 | 0.9x | 26 | 46% |
| ADX / DI 방향성 period=22, threshold=29 |
-0.4% | -80.1% | 0.09 | -0.01 | 0.9x | 32 | 46% |
| 볼린저 밴드 돌파 n=12, k=3.1 |
0.3% | -65.2% | 0.09 | 0.00 | 1.1x | 18 | 44% |
| EMA 크로스오버 fast=70, slow=74 |
-4.2% | -88.8% | 0.05 | -0.05 | 0.3x | 21 | 54% |
| Buy and hold | -2.2% | -96.5% | 0.19 | -0.02 | 0.5x | 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 27-day return is greater than -4%
- Sell — Sell when the 27-day return drops to -4% or below