MetaTrader 4 (MT4) CSV Export & Conversion Guide
Break free from the clunky MT4 terminal: Export your broker tape to clean local replay files.
#01Raw Platform Data Specifications
#02How to Export Historical Data from MetaTrader 4 (MT4 History Center)
In MT4, press F2 on your keyboard to open the History Center.
Browse the left tree to your currency pair (e.g. Forex → EURUSD → 1 Minute).
Click 'Download' to pull max broker bars, then click 'Export'.
Save the file as a CSV (e.g. EURUSD1.csv).
#03Raw Header vs Standardized Header Mapping
| Raw Platform Column | Target Standard Column | Conversion Notes |
|---|---|---|
| Date, Time (2025.01.01, 00:00) | time (2025-01-01 00:00:00) | MT4 splits date and time across two separate columns; merge into a single datetime column. |
| Open, High, Low, Close | open, high, low, close | Standard broker quotes. |
| Volume | volume | Tick volume counts from your specific broker. |
#04Common Import Pitfalls & File Glitches
Two-Column Timestamps: MT4 exports separate 'Date' and 'Time' columns, which standard single-time parsers cannot read directly.
Broker Server Time Shifting: MT4 quotes are timestamped in broker time (often Cyprus GMT+2 or DST GMT+3), requiring timezone shifting to UTC.
Dot Date Separators: MT4 uses dots in dates (2025.01.15) rather than standard ISO dashes (2025-01-15).
#05Frequently Asked Questions
Why move away from MT4 built-in Strategy Tester for replay?+
MT4's tester cannot step backward, lacks blind practice concealment, binds you to broker server clocks, and consumes heavy resources.
How do I fix MT4 two-column date and time format?+
Use our HistData / MT4 CSV Formatter tool: drag your file in and get a merged single-column UTC file instantly.