Download MetaTrader 5

Historical Data Solutions

To add comments, please log in or register
Find out how to add a video in the messages editor
ASAR
278
ASAR 2014.08.06 03:15 
With the new builds for MT4, it appears as though the importing of historical data to the History Center is no longer allowed thereby restricting back tests to the use of inadequate data.  What are various solutions to dealing with the problem of inadequate historical data in MT4? 
Alain Verleyen
Moderator
30734
Alain Verleyen 2014.08.06 12:45  
What do you mean ? I am not aware of any restriction to import data with History Center.
ASAR
278
ASAR 2014.08.07 06:30  
angevoyageur:
What do you mean ? I am not aware of any restriction to import data with History Center.


When one opens the History Center, clicks on the desired currency timeframe, clicks on 'Import', then clicks on 'Browse', to go to the location where hst. files have been placed (such as the 'default' folder in the 'history' folder), the files are not seen.  If the files have been placed in the 'history' folder of the Data Folder, the pathway to the files can only be accessed through the AppData folder which is not seen in the 'user_name' folder.  If I simply resort to clicking on 'Download' to get MetaQuotes data, the message 'There are no new data for a symbol...' appears.
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2014.08.07 08:32  
ASAR:


When one opens the History Center, clicks on the desired currency timeframe, clicks on 'Import', then clicks on 'Browse', to go to the location where hst. files have been placed (such as the 'default' folder in the 'history' folder), the files are not seen.  If the files have been placed in the 'history' folder of the Data Folder, the pathway to the files can only be accessed through the AppData folder which is not seen in the 'user_name' folder.  If I simply resort to clicking on 'Download' to get MetaQuotes data, the message 'There are no new data for a symbol...' appears.
Did you set the correct file type for the History Centre to look for ?  from memory the default is .csv so you have to change it to look for .hst  . . .
ASAR
278
ASAR 2014.08.07 23:28  
RaptorUK:
Did you set the correct file type for the History Centre to look for ?  from memory the default is .csv so you have to change it to look for .hst  . . .



Thank you.  Reminding me of that has solved that problem but now it only returns me to a previous problem in which the imported history never remains imported.  If I exit the History Center and open it again, the imported history is no longer there.
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2014.08.08 06:53  
ASAR:


Thank you.  Reminding me of that has solved that problem but now it only returns me to a previous problem in which the imported history never remains imported.  If I exit the History Center and open it again, the imported history is no longer there.

If you import data for a symbol and you have that symbol open on a chart the data will not import correctly,  in my experience.  If you Import recent data and are connected to your Broker you Imported data can be over written by your Broker . .  so make sure MT4 is offline.  I have posted many times about this subject as have other users,  all the info is there you just need to look for it and find it . . .

https://www.mql5.com/en/forum/144874 

https://www.mql5.com/en/forum/143430/page2#756987 

ASAR
278
ASAR 2014.08.09 01:26  
RaptorUK:

If you import data for a symbol and you have that symbol open on a chart the data will not import correctly,  in my experience.  If you Import recent data and are connected to your Broker you Imported data can be over written by your Broker . .  so make sure MT4 is offline.  I have posted many times about this subject as have other users,  all the info is there you just need to look for it and find it . . .

https://www.mql5.com/en/forum/144874 

https://www.mql5.com/en/forum/143430/page2#756987 



When I take MT4 offline, restart it, and open the History Center, everything is blank with the message 'Database: 0 records'.  When I proceed to then import the data, exit the History Center and open a chart of the symbol, the chart confirms the data that was imported and if I open the History Center again, the data is still there.  However, when I exit MT4 and restart it again with it still being offline, there's a 'Waiting for update' message on the chart I had previously opened and the History Center is again blank with the message 'Database: 0 records'.
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2014.08.09 07:19  
ASAR:


When I take MT4 offline, 
What method are you using to take MT4 offline from your Broker ?
ASAR
278
ASAR 2014.08.09 13:33  
RaptorUK:
What method are you using to take MT4 offline from your Broker ?



I login with an incorrect login ID.
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.08.09 16:40  
Have you try with correct login ID but disconnect your Internet connection?
ASAR
278
ASAR 2014.08.09 22:14  
deysmacro:
Have you try with correct login ID but disconnect your Internet connection?


Yes, I've tried keeping the correct login and disconnecting from the internet.  The results are the same.
12
To add comments, please log in or register