PC Export historical data

good

This article was : 

published

updated

You can export historical data in 21 different timeframes on MetaTrader5 (MT5), and in 9 timeframes on MetaTrader4 (MT4).

Here we will look at how to export historical data on MT4/MT5.

Switch between MT4/MT5 tabs to check the steps for each.

mt4
mt5

Step 1

Click "Tools" on the menu and select "History Center".

History Center History Center

Step 2

In the "Symbols" field of the "History Center" window, choose the symbol and timeframe of the data you wish to export and click "Export".

Export historical data Export historical data

Step 3

Choose an export location for the historical data and give it a file name. Select the file type and click "Save" to export it. The available file types are csv, html, and pm.

Save exported data Save exported data

Step 1

Click "View" on the menu and select "Symbols". (Shortcut keys: "Ctrl"+"U")

Select Symbols Select Symbols

Step 2

To export historical data in a timeframe, go to the "Bars" tab. To export historical tick data, go to "Ticks" tab.

Click OK Click OK

Step 3

In the "Bars" tab, set the symbol, timeframe, and period for the historical data to export and click "Request".

Export historical bar data Export historical bar data

Number

Item name

Descriptions

1

Symbol

Select the symbol for which you want to download the historical data.

2

Type

To export the historical bar data, select one of the 21 timeframes. To export the historical tick data, select the type of tick data.

3

Period

Specify the period of the historical data to export.

Step 4

Once downloading is completed, you will see the number of downloaded data under the symbol field and also the historical data beneath that. It might take some time depending on the amount of data.

caution If it says "limited by charts settings"
limited by charts settings limited by charts settings

If you see the message, "limited by charts settings" under the symbol field, the historical data of the specified period hasn't been fully downloaded. To fix this, you must adjust the settings to increase the number of bars displayed on the chart. Check/adjust your settings and restart MT5 to download all the historical data.

Step 5

Click "Export Bars" or "Export Ticks".

Export historical bar data Export historical bar data

Step 6

Choose an export location for the historical data and give it a file name. Select the file type and click "Save" to export it. The available file types are csv and html.

Click Export Bars Click Export Bars

Was this article helpful?

thumb_down No
thumb_down Yes

0 out of 0 people found this article helpful.

Thank you for your feedback.

Send