Trend-Following Backtester · Guide · backtest 한국어

etf · US

Kayne Anderson Energy Infrastructure Fund, Inc. backtest

10 trend-following strategies were compared on the full daily history of Kayne Anderson Energy Infrastructure Fund, Inc.. 8 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 1.5%, MDD -27.2%).

Data 2004-09-28 ~ 2026-07-31daily bars 5,495 (21.8 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

8 of 10 beat buy and hold (CAGR -2.4%, drawdown -95.1%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 4.6%, MDD -39.9%, Sharpe 0.36, 51% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 7.1%p higher than buy and hold, while drawdown improves by 55.2%p (CAGR 1.5%, MDD -27.2%, exposure 13%).

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
Donchian 채널 돌파
entryN=82, exitN=71
4.6%-39.9%0.360.122.7x2551%
Keltner 채널 돌파
emaPeriod=57, atrPeriod=18, mult=3.9
1.9%-27.7%0.250.071.5x3218%
SMA 크로스오버
fast=42, slow=103
2.7%-60.1%0.240.041.8x5954%
볼린저 밴드 돌파
n=53, k=2.8
1.5%-27.2%0.220.061.4x2813%
EMA 크로스오버
fast=59, slow=151
1.9%-46.7%0.200.041.5x3158%
Supertrend
period=9, mult=5
0.9%-54.1%0.140.021.2x6146%
ADX / DI 방향성
period=34, threshold=17
-0.3%-48.1%0.02-0.010.9x5615%
ROC 모멘텀
n=26, threshold=0.14
-1.0%-38.7%-0.05-0.030.8x964%
Parabolic SAR
step=0.005, maxStep=0.22
-3.7%-84.2%-0.09-0.040.4x17956%
MACD
fast=19, slow=25, signal=16
-7.5%-92.0%-0.27-0.080.2x30953%
Buy and hold-2.4%-95.1%0.12-0.030.6x1100%
0.1 1x 2005 2008 2011 2014 2017 2020 2023 2026 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -48% -71% -95% 2005 2008 2011 2014 2017 2020 2023 2026 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -39.9% (2021-06-16 → 2024-02-09), prior peak not yet recovered.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

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