MetaTrader 4 (MT4 History Center)

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

Default File Format
CSV / HST (comma / tab separated)
Timestamp Precision
Date + Time (YYYY.MM.DD HH:MM)
Default Timezone
Broker Server Time (typically GMT+2 / GMT+3)
Volume Column Support
Yes (OHLCV)

#02How to Export Historical Data from MetaTrader 4 (MT4 History Center)

1

In MT4, press F2 on your keyboard to open the History Center.

2

Browse the left tree to your currency pair (e.g. Forex → EURUSD → 1 Minute).

3

Click 'Download' to pull max broker bars, then click 'Export'.

4

Save the file as a CSV (e.g. EURUSD1.csv).

#03Raw Header vs Standardized Header Mapping

Raw Platform ColumnTarget Standard ColumnConversion 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, Closeopen, high, low, closeStandard broker quotes.
VolumevolumeTick volume counts from your specific broker.

#04Common Import Pitfalls & File Glitches

⚠️File Trap 01

Two-Column Timestamps: MT4 exports separate 'Date' and 'Time' columns, which standard single-time parsers cannot read directly.

⚠️File Trap 02

Broker Server Time Shifting: MT4 quotes are timestamped in broker time (often Cyprus GMT+2 or DST GMT+3), requiring timezone shifting to UTC.

⚠️File Trap 03

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.

Explore Other Platform Guides

View All 12 Platforms →