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.
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
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.
| ETF | History from | Tracks | Daily bars |
|---|---|---|---|
| XLK | January 2018 | US technology sector | 2,214 |
| XLF | January 2018 | US financial sector | 2,214 |
| XLE | January 2018 | US energy sector | 2,214 |
| SMH | December 2020 | Semiconductor stocks | 1,475 |
| GDX | January 2018 | Gold mining stocks | 2,214 |
| TLT | January 2018 | US Treasuries, 20+ years | 2,214 |
| EEM | January 2018 | Emerging-market stocks | 2,214 |
| EWZ | January 2018 | Brazilian stocks | 2,214 |
| Timeframe | Free | Pro | Ultra |
|---|---|---|---|
| W1 / MN | Full history | Full history | Full history |
| D1 | Last 36 months | Last 42 months | Full history |
| H4 | Last 24 months | Last 30 months | Full history |
| H1 | Last 18 months | Last 24 months | Full history |
| M30 / M15 | Last 15 / 12 months | Last 21 / 18 months | Full history |
| M5 / M1 | Last 9 / 6 months | Last 9 / 6 months | Full 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.
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.
| ETF | Median day | Correlation with US500 | Worst drawdown |
|---|---|---|---|
| XLK | 1.49% | 0.86 | -34.0% |
| XLF | 1.28% | 0.76 | -43.4% |
| XLE | 1.81% | 0.51 | -70.1% |
| SMH | 2.05% | 0.44 * | -45.4% |
| GDX | 2.24% | 0.22 | -50.8% |
| TLT | 0.76% | -0.11 | -55.1% |
| EEM | 0.89% | 0.69 | -41.5% |
| EWZ | 1.85% | 0.51 | -57.1% |
| US500, for reference | 1.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.
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.
Three things to settle before you test ETFs.
Each links to a longer read.
Run it on the S&P 500 too
XLK correlates 0.86 with the index. Backtest US500 on the same dates to see whether your ETF edge is the sector or just the US market.
Backtest the S&P 500 → Related marketThe stocks behind the ETFs
Apple, Nvidia, Microsoft and JPMorgan sit inside XLK and XLF. The stocks page covers 16 US shares on the same session and the same lot size.
Backtest US stocks → Original researchGaps around the open
Two in three EWZ sessions open 0.5% or more from the last close. Our overnight gap study measures how often index opens jump, how far, and what they do next.
Read the study →Four steps, about a minute.
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.
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.
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.
Read the report. Win rate, expectancy, profit factor, Sharpe and drawdown across the session, saved to your trading journal so the sample accumulates.
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.