SleepWell Trade

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%).

Data 2005-11-18 ~ 2026-09-30daily bars 5,191 (20.9 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-09-30

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
ADX / DI 방향성
period=26, threshold=33
3.8%-20.8%0.490.182.2x64%
Supertrend
period=25, mult=4.9
7.3%-73.5%0.410.104.4x5046%
볼린저 밴드 돌파
n=16, k=2.9
2.8%-25.1%0.340.111.8x285%
Donchian 채널 돌파
entryN=12, exitN=45
4.5%-79.3%0.300.062.5x7775%
Parabolic SAR
step=0.005, maxStep=0.04
3.5%-79.1%0.260.042.0x15752%
SMA 크로스오버
fast=53, slow=222
2.5%-66.1%0.230.041.7x2646%
Keltner 채널 돌파
emaPeriod=33, atrPeriod=22, mult=2
2.4%-56.4%0.220.041.7x10227%
EMA 크로스오버
fast=28, slow=36
2.1%-73.4%0.210.031.6x9850%
ROC 모멘텀
n=146, threshold=-0.02
0.9%-58.5%0.170.021.2x16451%
MACD
fast=19, slow=22, signal=19
-0.9%-73.1%0.12-0.010.8x25751%
Buy and hold-0.2%-88.5%0.21-0.001.0x1100%
1x 10x 2006 2009 2012 2015 2018 2021 2024 SupertrendADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), Supertrend (CAGR reference), Buy and hold.
0% -22% -44% -66% -88% 2006 2009 2012 2015 2018 2021 2024 Buy and holdSupertrendADX / DI 방향성
ADX / DI 방향성 maximum drawdown -20.8% (2006-05-08 → 2012-10-24), recovered after 2,459 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore BR assetsAll asset reports

Read next