Trend-Following Backtester · Guide · backtest 한국어

equity · CO

Ecopetrol SA backtest

10 trend-following strategies were compared on the full daily history of Ecopetrol SA. 9 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 2.7%, MDD -11.7%).

Data 2007-11-28 ~ 2026-07-31daily bars 4,834 (18.7 years)Costs 0.5%Venue BVCMonthly snapshot 2026-07-31

Results by strategy

9 of 10 beat buy and hold (CAGR 1.4%, drawdown -84.9%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 2.7%, MDD -11.7%, Sharpe 0.52, 2% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 7.8%, MDD -50.5%, exposure 56%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 1.2%p higher than buy and hold, while drawdown improves by 73.2%p (CAGR 2.7%, MDD -11.7%, exposure 2%).

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
볼린저 밴드 돌파
n=18, k=3.5
2.7%-11.7%0.520.231.6x62%
Donchian 채널 돌파
entryN=48, exitN=54
7.8%-50.5%0.430.154.1x3956%
EMA 크로스오버
fast=25, slow=53
5.8%-57.7%0.360.102.9x7152%
Keltner 채널 돌파
emaPeriod=30, atrPeriod=8, mult=3
4.2%-49.7%0.350.082.2x6220%
SMA 크로스오버
fast=35, slow=61
5.6%-54.6%0.340.102.8x9153%
ADX / DI 방향성
period=38, threshold=28
2.2%-42.7%0.260.051.5x1013%
ROC 모멘텀
n=153, threshold=0.18
2.9%-49.1%0.260.061.7x9924%
MACD
fast=23, slow=49, signal=18
3.3%-58.9%0.250.061.8x17052%
Supertrend
period=8, mult=4.8
2.8%-61.9%0.230.051.7x7147%
Parabolic SAR
step=0.015, maxStep=0.34
-3.1%-71.3%-0.03-0.040.6x29550%
Buy and hold1.4%-84.9%0.210.021.3x1100%
1x 2008 2011 2014 2017 2020 2023 2026 Donchian 채널 돌파볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -21% -42% -64% -85% 2008 2011 2014 2017 2020 2023 2026 Buy and holdDonchian 채널 돌파볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -11.7% (2018-01-24 → 2018-02-06), prior peak not yet recovered.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 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 setupAll asset reports

Read next