Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Companhia de Saneamento de Minas Gerais backtest
10 trend-following strategies were compared on the full daily history of Companhia de Saneamento de Minas Gerais. 6 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 9.1%, MDD -31.8%).
Results by strategy
6 of 10 beat buy and hold (CAGR 9.9%, drawdown -83.8%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 16.1%, MDD -50.5%, Sharpe 0.64, 79% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 6.2%p higher than buy and hold, while drawdown improves by 33.3%p (CAGR 9.1%, MDD -31.8%, exposure 30%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=12, exitN=62 |
16.1% | -50.5% | 0.64 | 0.32 | 21.9x | 63 | 79% |
| ROC 모멘텀 n=142, threshold=-0.04 |
14.0% | -49.1% | 0.62 | 0.29 | 15.0x | 103 | 67% |
| MACD fast=15, slow=33, signal=18 |
12.7% | -51.8% | 0.60 | 0.25 | 11.8x | 231 | 51% |
| SMA 크로스오버 fast=49, slow=181 |
12.0% | -48.5% | 0.56 | 0.25 | 10.4x | 29 | 62% |
| 볼린저 밴드 돌파 n=27, k=2.2 |
9.1% | -31.8% | 0.56 | 0.29 | 6.0x | 118 | 30% |
| Supertrend period=14, mult=4.8 |
11.8% | -47.6% | 0.56 | 0.25 | 10.0x | 54 | 61% |
| EMA 크로스오버 fast=15, slow=218 |
11.0% | -49.8% | 0.54 | 0.22 | 8.6x | 29 | 62% |
| Keltner 채널 돌파 emaPeriod=30, atrPeriod=12, mult=1.8 |
8.0% | -46.6% | 0.50 | 0.17 | 4.9x | 118 | 32% |
| Parabolic SAR step=0.005, maxStep=0.16 |
9.2% | -57.7% | 0.48 | 0.16 | 6.2x | 173 | 52% |
| ADX / DI 방향성 period=21, threshold=37 |
3.3% | -28.7% | 0.45 | 0.11 | 1.9x | 18 | 5% |
| Buy and hold | 9.9% | -83.8% | 0.44 | 0.12 | 7.0x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 12 days
- Sell — Sell when price breaks below the lowest low of the last 62 days