ETFs · Sector, bond, country

Backtest ETFs
free, in your browser.

Replay eight ETFs - technology, financials, energy, semiconductors, gold miners, long-term Treasuries, emerging markets and Brazil - bar by bar from 2017 to this week, place trades with the mouse, and get win rate, expectancy, profit factor and drawdown at the end of the session. No download, no broker account, no card - all eight are unlocked on the free plan along with the other 97 instruments.

2018
XLK HISTORY FROM
86
INDICATORS
105
INSTRUMENTS
€0
TO START
XLK HISTORY8 YEARS
FREE PLANALL 105 MARKETS
fxbacktest.app/app · XLK
The FxBacktest replay chart with an open trade, its stop and target lines, and the live session panel
THE TOOL

Everything in the browser

  • 105 symbols
  • 9 timeframes
  • 86 indicators
  • 28 backtest analytics
  • Custom bar replay
  • Compare symbols
  • AI scripting
  • Strategy optimization
  • Pattern game
  • Economic calendar
  • Community backtests
  • Multi-strategy stats
  • MT5 EA analytics
  • Free course
  • Trade journal + tags
  • Prop firm challenges
  • 7 candle types
THE DATA

Eight ETFs, already loaded.

Tick-derived OHLC bars from the same archive our published research is computed on. This is exactly what you can replay today, and which plan unlocks how far back.

8 ETFS · COVERAGE GROWING NIGHTLY
ETFHistory fromTracksDaily bars
XLKJanuary 2018US technology sector2,214
XLFJanuary 2018US financial sector2,214
XLEJanuary 2018US energy sector2,214
SMHDecember 2020Semiconductor stocks1,475
GDXJanuary 2018Gold mining stocks2,214
TLTJanuary 2018US Treasuries, 20+ years2,214
EEMJanuary 2018Emerging-market stocks2,214
EWZJanuary 2018Brazilian stocks2,214
REPLAY DEPTH BY PLAN EVERY 8 ETFS
TimeframeFreeProUltra
W1 / MNFull historyFull historyFull history
D1Last 36 monthsLast 42 monthsFull history
H4Last 24 monthsLast 30 monthsFull history
H1Last 18 monthsLast 24 monthsFull history
M30 / M15Last 15 / 12 monthsLast 21 / 18 monthsFull history
M5 / M1Last 9 / 6 monthsLast 9 / 6 monthsFull history
Ticks · S5 / S15 / S30--Every quote

Coverage as of October 2026 and growing nightly, quoted in US dollars and sized at 100 shares per lot, like the US stocks. The ETFs quote only during their exchange session, 13:30 to 20:00 UTC, so the chart has no overnight bars and each session opens from a new price. SMH is the exception: its bars run 07:00 to 16:30 UTC, and its hourly bars start in October 2024.

MEASURED

Eight ETFs, eight different markets.

Median daily range as a share of price, the correlation of daily returns with the S&P 500 (US500 in the same archive), and the deepest fall from a peak in the archive.

8 ETFS · MEASURED FXBACKTEST ARCHIVE
ETFMedian dayCorrelation with US500Worst drawdown
XLK1.49%0.86-34.0%
XLF1.28%0.76-43.4%
XLE1.81%0.51-70.1%
SMH2.05%0.44 *-45.4%
GDX2.24%0.22-50.8%
TLT0.76%-0.11-55.1%
EEM0.89%0.69-41.5%
EWZ1.85%0.51-57.1%
US500, for reference1.18%1.00-33.2%

FxBacktest archive, 2 January 2018 (SMH: 9 December 2020) to 23 October 2026, weekdays only; Pearson correlation of daily log returns on matching dates. Worst drawdown is close to close: XLE May 2018 to March 2020, TLT August 2020 to October 2026, GDX August 2020 to September 2022, EWZ January to March 2020, XLK and SMH December 2021 to October 2022. * SMH quotes in European hours and closes before the US session ends, so its daily correlation with US500 understates how closely semiconductors follow the index.

Three of these are not stock market bets at all. TLT moved against the S&P 500 about as often as with it (correlation -0.11), GDX follows gold far more than stocks (0.22), and XLE fell 70% into March 2020 while US500 lost a third. XLK, at 0.86, is the opposite case: a tech ETF rule is mostly an S&P 500 rule - run it on US500 too and see whether the sector adds anything.

Because the ETFs only quote during their session, every chart day starts with a gap. Half of all XLK sessions opened at least 0.5% away from the previous close, and two in three on EWZ and GDX. A stop that sits beyond the close in a backtest is no protection against that gap - in a live account it fills at the opening price.

EVERY SESSION STARTS WITH A GAP SHARE OF DAYS OPENING 0.5% OR MORE FROM THE PREVIOUS CLOSE, 2018-2026
EWZ
67.0%
GDX
64.9%
SMH *
64.9%
EEM
56.3%
XLE
53.2%
XLK
50.2%
XLF
40.0%
TLT
39.9%

Absolute distance from each daily open to the previous daily close, FxBacktest archive, 2 January 2018 (SMH: December 2020) to 23 October 2026, 2,213 sessions per ETF. Days opening 1% or more away: 12.1% on TLT, 22.2% on XLK, 40.0% on SMH. * SMH's session ends before the US close, so part of its gap is US afternoon trading it has not yet seen.

HOW IT WORKS

Four steps, about a minute.

01

Open the simulator and pick XLK, XLF, XLE, SMH, GDX, TLT, EEM or EWZ from the instrument list - or US500 and the rest of the 105.

02

Choose a start date and timeframe. The chart hides everything after it, so you read the same bars a trader had at the time rather than a chart you already know the answer to.

03

Replay bar by bar and place trades with the mouse. The position size follows from your risk percent and stop distance in dollars, at 100 shares per lot.

04

Read the report. Win rate, expectancy, profit factor, Sharpe and drawdown across the session, saved to your trading journal so the sample accumulates.

QUESTIONS

ETF backtesting FAQ

Is ETF backtesting really free here? +

Yes. All eight ETFs and all 105 instruments are unlocked on the free plan, with every timeframe, full trade execution and the session report. Nothing to download, no card. The free plan replays the most recent 36 months of daily bars and 12 months of 15-minute bars; Pro reaches six months further and Ultra opens the whole archive, plus tick data.

Which ETFs can I backtest? +

XLK (technology), XLF (financials), XLE (energy), SMH (semiconductors), GDX (gold miners), TLT (20+ year Treasuries), EEM (emerging markets) and EWZ (Brazil). All start in January 2018 except SMH, which starts in December 2020.

Do the ETFs trade overnight in the replay? +

No. They quote only during their exchange session, 13:30 to 20:00 UTC, so there are no overnight bars and most days open with a gap from the previous close. SMH is the exception and runs 07:00 to 16:30 UTC.

Which ETF moves the most? +

GDX, the gold miners: a median day of 2.24% of price from 2018 to 2026, almost twice the S&P 500's 1.18%. TLT is the quietest at 0.76%, and the only one that moves against stocks.

Risk disclaimerTrading foreign exchange, CFDs, and other leveraged products carries a high level of risk and is not suitable for every investor - losses can exceed your deposits. Everything on this page is educational content, not financial advice. Backtest and simulator results are hypothetical: they do not represent live trading and past performance does not guarantee future results.