Trend-Following Backtester · Guide · backtest 한국어

equity · ES

CaixaBank SA backtest

10 trend-following strategies were compared on the full daily history of CaixaBank SA. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 10.1%, MDD -35.7%).

Data 2007-10-10 ~ 2026-07-31daily bars 4,805 (18.8 years)Costs 0.5%Venue BMEMonthly snapshot 2026-07-31

Results by strategy

4 of 10 beat buy and hold (CAGR 4.7%, drawdown -71.6%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 12.3%, MDD -36.8%, Sharpe 0.64, 56% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 7.6%p higher than buy and hold, while drawdown improves by 34.8%p (CAGR 10.1%, MDD -35.7%, exposure 58%).

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
SMA 크로스오버
fast=41, slow=354
12.3%-36.8%0.640.338.9x956%
EMA 크로스오버
fast=45, slow=258
10.1%-35.7%0.550.286.1x1758%
Donchian 채널 돌파
entryN=52, exitN=122
11.0%-52.2%0.530.217.1x1969%
ROC 모멘텀
n=110, threshold=-0.02
5.3%-65.6%0.340.082.6x15161%
Supertrend
period=23, mult=4.5
4.1%-49.8%0.290.082.1x6554%
Keltner 채널 돌파
emaPeriod=54, atrPeriod=19, mult=3
3.5%-41.0%0.290.081.9x5728%
Parabolic SAR
step=0.005, maxStep=0.3
2.6%-54.5%0.220.051.6x16253%
볼린저 밴드 돌파
n=51, k=1.3
1.8%-36.5%0.190.051.4x12142%
MACD
fast=17, slow=23, signal=21
0.1%-62.8%0.120.001.0x25050%
ADX / DI 방향성
period=37, threshold=11
-1.0%-46.0%0.03-0.020.8x15636%
Buy and hold4.7%-71.6%0.300.072.4x1100%
1x 2008 2011 2014 2017 2020 2023 2026 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -18% -36% -54% -72% 2008 2011 2014 2017 2020 2023 2026 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -36.8% (2011-02-28 → 2011-08-10), recovered after 1,045 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

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