Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Cosan S.A. backtest
10 trend-following strategies were compared on the full daily history of Cosan S.A.. 9 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 3.8%, MDD -20.8%).
Results by strategy
9 of 10 beat buy and hold (CAGR -0.2%, drawdown -88.5%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.8%, MDD -20.8%, Sharpe 0.49, 4% exposure.
CAGR reference leader: Supertrend — CAGR 7.3%, MDD -73.5%, exposure 46%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 4.0%p higher than buy and hold, while drawdown improves by 67.7%p (CAGR 3.8%, MDD -20.8%, exposure 4%).
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=26, threshold=33 |
3.8% | -20.8% | 0.49 | 0.18 | 2.2x | 6 | 4% |
| Supertrend period=25, mult=4.9 |
7.3% | -73.5% | 0.41 | 0.10 | 4.4x | 50 | 46% |
| 볼린저 밴드 돌파 n=16, k=2.9 |
2.8% | -25.1% | 0.34 | 0.11 | 1.8x | 28 | 5% |
| Donchian 채널 돌파 entryN=12, exitN=45 |
4.5% | -79.3% | 0.30 | 0.06 | 2.5x | 77 | 75% |
| Parabolic SAR step=0.005, maxStep=0.04 |
3.5% | -79.1% | 0.26 | 0.04 | 2.0x | 157 | 52% |
| SMA 크로스오버 fast=53, slow=222 |
2.5% | -66.1% | 0.23 | 0.04 | 1.7x | 26 | 46% |
| Keltner 채널 돌파 emaPeriod=33, atrPeriod=22, mult=2 |
2.4% | -56.4% | 0.22 | 0.04 | 1.7x | 102 | 27% |
| EMA 크로스오버 fast=28, slow=36 |
2.1% | -73.4% | 0.21 | 0.03 | 1.6x | 98 | 50% |
| ROC 모멘텀 n=146, threshold=-0.02 |
0.9% | -58.5% | 0.17 | 0.02 | 1.2x | 164 | 51% |
| MACD fast=19, slow=22, signal=19 |
-0.9% | -73.1% | 0.12 | -0.01 | 0.8x | 257 | 51% |
| Buy and hold | -0.2% | -88.5% | 0.21 | -0.00 | 1.0x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 26-day) is ≥ 33
- Sell — Sell when direction flips or the trend weakens (ADX < 33)