Trend-Following Backtester · Guide · backtest 한국어
equity · BR
B3 SA - Brasil, Bolsa, Balcao backtest
10 trend-following strategies were compared on the full daily history of B3 SA - Brasil, Bolsa, Balcao. 9 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.7%, MDD -37.3%).
Results by strategy
9 of 10 beat buy and hold (CAGR -3.4%, drawdown -93.0%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.2%, MDD -37.6%, Sharpe 0.40, 53% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 10.6%p higher than buy and hold, while drawdown improves by 55.4%p (CAGR 5.7%, MDD -37.3%, exposure 42%).
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=13, slow=81 |
7.2% | -37.6% | 0.40 | 0.19 | 3.8x | 67 | 53% |
| Donchian 채널 돌파 entryN=19, exitN=42 |
6.5% | -76.7% | 0.39 | 0.09 | 3.3x | 55 | 65% |
| EMA 크로스오버 fast=23, slow=39 |
6.9% | -41.1% | 0.39 | 0.17 | 3.5x | 77 | 53% |
| Supertrend period=20, mult=4.3 |
6.6% | -52.1% | 0.38 | 0.13 | 3.4x | 59 | 53% |
| 볼린저 밴드 돌파 n=45, k=1.2 |
5.7% | -37.3% | 0.36 | 0.15 | 2.9x | 121 | 42% |
| Keltner 채널 돌파 emaPeriod=26, atrPeriod=24, mult=1.1 |
3.0% | -59.1% | 0.25 | 0.05 | 1.8x | 181 | 38% |
| MACD fast=29, slow=57, signal=30 |
-0.2% | -80.1% | 0.19 | -0.00 | 1.0x | 117 | 50% |
| ADX / DI 방향성 period=10, threshold=31 |
1.7% | -62.4% | 0.18 | 0.03 | 1.4x | 135 | 18% |
| ROC 모멘텀 n=86, threshold=-0.03 |
1.1% | -78.0% | 0.18 | 0.01 | 1.2x | 147 | 60% |
| Parabolic SAR step=0.005, maxStep=0.2 |
-6.9% | -92.0% | -0.04 | -0.07 | 0.3x | 159 | 52% |
| Buy and hold | -3.4% | -93.0% | 0.17 | -0.04 | 0.5x | 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 13-day average price crosses above the 81-day average
- Sell — Sell (to cash) when the 13-day average falls below the 81-day average