MT4 History Center Data - How to Export All of it?

 

Im trying to Export all of the 1m data my broker has on the server.

I go into the History Center, Click on 1m for the pair I want to download. Depending on which pair I select sometimes it says:


Database: 50000 / 3244987 records If I do an Export in this situation, I only get 50000 records


and other times it says:


Database: 3244987 records If I do an Export in this situation, I only get all 3244987 records


What's up with this? Why cant I get all the data all the time?


Thanks!





 
hkjonus:

Im trying to Export all of the 1m data my broker has on the server.

I go into the History Center, Click on 1m for the pair I want to download. Depending on which pair I select sometimes it says:


Database: 50000 / 3244987 records If I do an Export in this situation, I only get 50000 records


and other times it says:


Database: 3244987 records If I do an Export in this situation, I only get all 3244987 records


What's up with this? Why cant I get all the data all the time?


Thanks!






Never Mind. I figured it out.


1. Run a EA back test on the pair you want 1m data for going back to the date you want.

This will force the server to download the history you want but it will be in encrypted format in the history folder under your MT4 software installation.

2. Go to the History Center, open the pair you want and click on the 1m.

3. Import the history file (usdjpy1.hst) from the history folder.

4. Export the history data to .csv file


It works !

Reason: