US500 (S&P 500) Historical Data CSV Free Download
US500 is the MT5 CFD name for the S&P 500. This dataset gives you the broker-feed OHLC series exactly as your EA will see it in the Strategy Tester — including the 2020 crash and 2022 bear market for honest stress testing. Yahoo Finance and Excel exports only give you daily rows; here you get intraday M30 and H1 candles back to 2019.
OHLC candles across 9 timeframes.
Nine separate CSV files in one ZIP.
Includes the 2020 crash and 2022 bear market.
Timestamp, Open, High, Low, Close, TickVolume, Spread.
ZIP size, plain uncompressed CSV inside.
MT5 export symbol — rename to match your broker.
US500 Historical Data — Timeframe Breakdown
| File | Rows | From | To |
|---|---|---|---|
| US500m_PERIOD_M1_OHLC.csv | 100,000 | 2026-07-01 | 2026-10-09 |
| US500m_PERIOD_M5_OHLC.csv | 100,000 | 2025-05-12 | 2026-10-09 |
| US500m_PERIOD_M15_OHLC.csv | 100,000 | 2022-06-15 | 2026-10-09 |
| US500m_PERIOD_M30_OHLC.csv | 82,680 | 2019-07-16 | 2026-10-09 |
| US500m_PERIOD_H1_OHLC.csv | 41,752 | 2019-07-16 | 2026-10-09 |
| US500m_PERIOD_H4_OHLC.csv | 11,378 | 2019-07-16 | 2026-10-09 |
| US500m_PERIOD_D1_OHLC.csv | 2,234 | 2019-07-16 | 2026-10-09 |
| US500m_PERIOD_W1_OHLC.csv | 378 | 2019-07-14 | 2026-10-04 |
| US500m_PERIOD_MN1_OHLC.csv | 88 | 2019-07-01 | 2026-10-01 |
M1, M5 and M15 contain the most recent 100,000 candles (the MetaTrader 5 terminal window). M30 and above carry the full broker history since July 2019.
CSV Columns Explained
| Column | Meaning | Backtesting Note |
|---|---|---|
| Timestamp | Broker candle open time (server time). | Verify the server offset before aligning with another data source. |
| Open, High, Low, Close | US500 candle prices. | Validate High ≥ max(Open, Close) and Low ≤ min(Open, Close). |
| TickVolume | Broker tick activity inside the candle. | Not centralized volume — use it as an activity proxy. |
| Spread | Recorded broker spread. | Keep it: index CFDs widen at the cash open and rollover. |
How to Use the US500 Data
- Download the ZIP and extract the nine CSV files.
- For MT5: import into the Strategy Tester or rebuild the US500 symbol history; match the exact symbol name your broker uses (US500, SPX500, SP500, USA500).
- For Python: load with pandas, parse the Timestamp column, sort ascending and build features (returns, range, session flags).
- Run a data-quality pass first: duplicate timestamps, OHLC violations and session gaps are the three checks that catch most bad imports.
- Include spread and the overnight financing behavior when you interpret results — index CFDs are not futures.
import pandas as pd
df = pd.read_csv("US500m_PERIOD_M30_OHLC.csv")
df["Timestamp"] = pd.to_datetime(df["Timestamp"])
df = df.sort_values("Timestamp").set_index("Timestamp")
df["range"] = df["High"] - df["Low"]
df["body"] = (df["Close"] - df["Open"]).abs()
df["session"] = pd.cut(df.index.hour, bins=[-1, 7, 13, 21, 24],
labels=["Asia", "London", "NewYork", "LateNY"])
print(df.tail())
print(df[["range", "body", "TickVolume", "Spread"]].describe())
Also Known As
US500 is listed under several broker names: SPX500, SP500, USA500, US500Cash, S&P 500 Index CFD. The dataset works with any of them — rename the symbol to match your MT5 Market Watch exactly.
US500 Historical Data — FAQ
Is US500 the same as the S&P 500 index?
US500 is the CFD contract offered by MT5 brokers that tracks the S&P 500 index. Its prices come from your broker's feed, so intraday candles can differ slightly from the official index print. This dataset is the broker feed — exactly what your MT5 backtest will use.
How far back does the US500 data go?
M30, H1, H4, D1, W1 and MN1 candles run from July 2019 to October 2026. The M1, M5 and M15 files contain the most recent 100,000 candles each (M15 covers 2022 onward).
Can I use this data for the 2020 COVID crash backtest?
Yes. The M30-H1 files include February-March 2020 in full, so you can test stop distance, gap behavior and margin stress for that period. M1 data does not reach that far back because MT5 keeps only 100,000 M1 bars.
Related Index Datasets
Need an EA Tested on This Data?
We build MT5 Expert Advisors for index CFDs and validate them on clean datasets like this one — with realistic spread, session and gap assumptions.
Choose the next useful step
Most visitors arrive with one question: build, test, price, or trust. These shortcuts keep the path practical.
Go deeper before you build, download or automate
Hand-picked engineering articles, indicator breakdowns and trading-system tools so visitors keep exploring instead of leaving after one page.
Pine Script to MT4/MT5 Conversion Planner
Analyze Pine strategies, repainting risk, TradingView alert bridges, MTF synchronization and the correct MQL4/MQL5 build path before paying for conversion.
Open planner
3-in-1 MT5 Indicator Bundle
12H Bias Engine, Smart Money Institutional Flow Dashboard and D1/H1 pending-signal logic with MQ5 + EX5 source included via Etsy.
MT5 Bank Orders Institutional Flow Dashboard
Supply/demand zones, BOS/CHoCH, liquidity levels, FVG, equal highs/lows and confirmed trade-plan logic explained with EX5 download.
MT5 Asia London NY Liquidity Engine
Asia range, London raid and New York continuation/reversal planning with internal session backtest stats and entry/SL/TP dashboard.
Interactive Brokers RSI Pair Trader
Tkinter desktop trading workflow, TWS API connection handling, RSI pair logic, risk controls and custom IBKR development positioning.
XAUUSD M30 CSV Data For Backtesting
Use clean MT5 historical data for Python backtests, strategy validation, spread checks and realistic gold EA research workflows.