Select Language

Export historical data

In MetaTrader5 (MT5), you can export historical data in 21 different timeframes, as well as tick data. Exporting tick data, the smallest unit that represents price, is not available in MetaTrader4 (MT4), but only in MT5.

Step 1

First, increase the number of bars on charts. Click "Tools" on the menu and select "Options". (Shortcut keys: "Ctrl"+"O")

Click Tools on the menu and select Options Click Tools on the menu and select Options

Step 2

Set "Max bars in chart" to "Unlimited" in the "Charts" tab. Click "OK" and relaunch MT5.

Click OK Click OK

Step 3

Next, export the historical data. Click "View" on the menu and select "Symbols". (Shortcut keys: "Ctrl"+"U")

Select Symbols Select Symbols

Step 4

Export historical bar data

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

Export historical tick data

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

Export historical tick data Export historical tick 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 5

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.

Export historical bar data

Export historical bar data Export historical bar data

Export historical tick data

Export historical tick data Export historical tick 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 6

Export historical bar data

Click "Export Bars".

Export historical bar data Export historical bar data

Export historical tick data

Click "Export Ticks".

Export historical tick data Export historical tick data

Step 7

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

Date

Created

 : 2022.09.09

Update

Last updated

 : 2022.09.09

Writer

Takayoshi Nakamaru

Manual production consultant, MBA

arrow
Takayoshi Nakamaru

Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.

【Business information】
http://www.fintecs.co.jp/profile/

Supervisor

Akira Takagi

Systems engineer, MetaTrader administrator

arrow
Akira Takagi

After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.

Was this article helpful?
Thank you for your feedback.
Thank you for your feedback.

Disclaimer:arw

All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.

The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.

  • Facebook
  • Twitter
  • LINE

Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users.Cookie policy

I agree
share
Share
Cancel