Stratsemble
Preparation · Stage 2 of 5 — Test
XLE · Energy Sector ETF (XLE)ETFs

Does the Fair Value Gap strategy beat buy & hold on Energy Sector ETF (XLE)? (XLE · backtested honestly)

A three-candle price imbalance — a gap between the first candle's high and the third candle's low, confirmed at the third candle's close — that price may later return to before continuing higher or filling back in.

Lagged buy & hold2021-09-30 → 2026-09-29 · 1,254 barsCosts & slippage onvs Buy & HoldHypothetical · not advice
Total return
+17.0%
Buy & hold +181.3%
vs Buy & Hold
-164 pts
lagged the benchmark
Max drawdown
-23.6%
Sharpe 0.31 · 54 trades
The honest read

Over this period, Fair Value Gap on Energy Sector ETF (XLE) returned +17.0%, while simply buying and holding returned +181.3% — it lagged buy & hold by 164 points, with a worst drawdown of -23.6%. It traded 54 times and sat in cash about 70% of the time. It's a mechanism you test — not a recommendation.

What this settles

It lagged buy & hold over this window. That's a result — a backtest you can kill for free just did its job, and re-tuning it until it looks better only adds another shot at looking good by luck. Walking away from an idea that didn't beat simply holding is the honest move, not a failure.

If you still want to try to break it further, the five stages show how — but the cheapest lesson is the one you already have.

Interactive

Run it yourself

Change the parameters and the window, then re-run — no account needed.

Have your own idea for Energy Sector ETF (XLE)? Build and honestly test your own strategy — no code, costs on, measured against buy & hold.

Build your own on Energy Sector ETF (XLE) →
Worked example

Two real trades from this backtest

Shown at the modeled fills — entries at the next open, protective stops and targets at their level; costs on. A single trade is never a signal and says nothing about the next one — not the best or worst, a middling winner and a middling loser among the completed trades.

54 trades total — 26 winners, 28 losers (48% won). Below is one of each, not a scoreboard. One position is still open at the window end — its result is unrealized and is counted in the totals above at its current mark, not shown as a card below.

  1. Entry. A long entry fired; filled at the next open on 2023-09-20 at $45.40 — never the signal bar's own close.
  2. Held. 2 daily bars.
  3. Exit. Exited on 2023-09-22 at $44.92 (the exit rule fired (filled at the next open)).
  4. Result. -1.17% after costs.

The worst single trade in this whole test reached -8.99%.

  1. Entry. A long entry fired; filled at the next open on 2024-04-19 at $47.01 — never the signal bar's own close.
  2. Held. 2 daily bars.
  3. Exit. Exited on 2024-04-23 at $47.58 (the exit rule fired (filled at the next open)).
  4. Result. +1.10% after costs.

Trading costs + slippage (0.10%) are already deducted from every figure above. One trade is never the edge — it's the whole distribution (the win rate, the losers, the reality-check) that matters; this just makes the mechanics concrete. It describes the past; it is not a prediction.

Put this honest verdict on your site

A live badge that re-runs itself and links back here. Free to embed on any blog, newsletter or forum — it shows the honest result, beat or lagged.

<iframe src="https://stratsemble.com/embed/energy-sector-etf-fair-value-gap-backtest" width="360" height="340" style="border:0;border-radius:12px;max-width:100%" loading="lazy" title="Does the Fair Value Gap strategy beat buy & hold on Energy Sector ETF (XLE)?"></iframe>
How to read this
  • • The strategy line is Fair Value Gap on Energy Sector ETF (XLE); the dashed line is simply buying and holding XLE. Beating the dashed line is the whole point — many strategies don't.
  • • Max drawdown is the worst peak-to-trough fall you'd have sat through. A higher return with a much deeper drawdown is not obviously better.
  • • Every fill assumes next-open execution with costs & slippage on — no acting on prices you couldn't have known.
  • • A small number of trades means a small sample. Treat a great-looking result on a handful of trades with suspicion.
What this is — and isn't

This is a hypothetical backtest of a well-known mechanism on past data. It is not advice, not a prediction, and not a claim that the strategy works. I hold no funds and place no orders. The value here is the ability to test an idea honestly — see where it would have helped, and where it would have hurt — before you ever risk real money on your own broker.

How this is computed → · who's behind it · where a backtest fits

See what actually beats buy & hold — most don't, here are the rare few that do →