Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Sao Martinho S.A. backtest
10 trend-following strategies were compared on the full daily history of Sao Martinho S.A.. 6 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 6.8%, MDD -39.3%).
Results by strategy
6 of 10 beat buy and hold (CAGR 4.2%, drawdown -75.1%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 8.0%, MDD -47.5%, Sharpe 0.46, 38% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 3.8%p higher than buy and hold, while drawdown improves by 27.7%p (CAGR 6.8%, MDD -39.3%, exposure 32%).
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 |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=29, k=1.5 |
8.0% | -47.5% | 0.46 | 0.17 | 4.5x | 150 | 38% |
| Keltner 채널 돌파 emaPeriod=28, atrPeriod=9, mult=1.7 |
6.8% | -39.3% | 0.43 | 0.17 | 3.6x | 124 | 32% |
| Parabolic SAR step=0.005, maxStep=0.04 |
7.3% | -51.4% | 0.41 | 0.14 | 4.0x | 142 | 52% |
| MACD fast=22, slow=30, signal=20 |
6.0% | -62.7% | 0.35 | 0.10 | 3.1x | 198 | 51% |
| Supertrend period=9, mult=3.4 |
5.4% | -48.5% | 0.34 | 0.11 | 2.8x | 96 | 53% |
| SMA 크로스오버 fast=8, slow=25 |
4.6% | -55.6% | 0.31 | 0.08 | 2.4x | 206 | 52% |
| ADX / DI 방향성 period=16, threshold=37 |
2.5% | -17.8% | 0.29 | 0.14 | 1.6x | 34 | 7% |
| Donchian 채널 돌파 entryN=23, exitN=76 |
2.4% | -52.9% | 0.24 | 0.05 | 1.6x | 45 | 76% |
| EMA 크로스오버 fast=8, slow=28 |
0.4% | -59.8% | 0.15 | 0.01 | 1.1x | 168 | 51% |
| ROC 모멘텀 n=127, threshold=-0.02 |
-0.0% | -67.1% | 0.14 | -0.00 | 1.0x | 148 | 59% |
| Buy and hold | 4.2% | -75.1% | 0.31 | 0.06 | 2.2x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 29-day average (1.5× volatility)
- Sell — Sell when the close falls back to the 29-day middle average