SleepWell Trade

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 Keltner 채널 돌파 (CAGR 0.6%, MDD -4.1%).

Data 2004-09-28 ~ 2026-09-30daily bars 5,537 (22.0 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-09-30

Results by strategy

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

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

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 7.0%p higher than buy and hold, while drawdown improves by 55.2%p (CAGR 0.6%, MDD -4.1%, exposure 1%).

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=84, exitN=71
4.3%-39.9%0.340.112.5x2551%
Keltner 채널 돌파
emaPeriod=8, atrPeriod=28, mult=2.5
0.6%-4.1%0.320.151.1x61%
볼린저 밴드 돌파
n=23, k=3.4
1.1%-10.0%0.320.111.3x61%
SMA 크로스오버
fast=54, slow=189
3.6%-39.1%0.290.092.2x3156%
EMA 크로스오버
fast=55, slow=289
3.0%-36.3%0.270.081.9x1952%
Supertrend
period=9, mult=5
0.6%-54.1%0.120.011.1x6247%
ROC 모멘텀
n=4, threshold=0.11
0.4%-21.2%0.080.021.1x641%
ADX / DI 방향성
period=36, threshold=17
-0.1%-43.0%0.04-0.001.0x5414%
Parabolic SAR
step=0.005, maxStep=0.2
-3.7%-84.2%-0.09-0.040.4x18056%
MACD
fast=17, slow=28, signal=17
-7.6%-92.4%-0.28-0.080.2x30853%
Buy and hold-2.8%-95.1%0.11-0.030.5x1100%
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 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 US assetsAll asset reports

Read next