Is there a way to read *.DAT files not using MT? Does anyone knows its format?
Thanks in advance.
What does your question have to do with the change in format of hst files ? why dredge up a 4 year old thread ? what format are DAT files ? perhaps you should delete your post and create a new thread . . .
Simon Gniadkowski: What does your question have to do with the change in format of hst files ? why dredge up a 4 year old thread ? what format are DAT files ? perhaps you should delete your post and create a new thread . . .
Thread start date - 2009.09.06
As for DAT files, I don't know what binary format they are in, however it appears that exporting MqlRates data from a MetaTrader script would work.
I verified the MT4 export script mentioned in the other comment works. Here it is again:
Because it was on the weekend, I had to comment out the hour restriction: // && (Hour() >= StartHour) && Hour() < EndHour)
I made sure that the Symbol was one that had a lot of history downloaded like EURUSD, and the file path valid. My assumption:
The script exports the DAT data to CSV format. It should not be that tough to modify it into a normal csv format (instead of 5 records per line), and include the time stamp.
Then it should be easy to sort it on the time stamp. I will have to do all that. If you get the 5002 error you can get it go away.
The following script exports data from MetaTrader to a file. Unfortunately ( for me at least ), the order of the data in the generated file from 0 to 1000, 0 being the most recent ( present to past ). I want the file to be sorted from 1000...
Here's what I get... maybe too late...
Hello everyone, is there anyway to force MT4 to convert those DAT files to HST in order to make the history useful for back testing?
Hi!
Is there a way to read *.DAT files not using MT? Does anyone knows its format?
Thanks in advance.
Hi!
Is there a way to read *.DAT files not using MT? Does anyone knows its format?
Thanks in advance.
Thread start date - 2009.09.06
What does your question have to do with the change in format of hst files ? why dredge up a 4 year old thread ? what format are DAT files ? perhaps you should delete your post and create a new thread . . .
Thread start date - 2009.09.06
As for DAT files, I don't know what binary format they are in, however it appears that exporting MqlRates data from a MetaTrader script would work.
I verified the MT4 export script mentioned in the other comment works. Here it is again:
https://stackoverflow.com/questions/29083479/mt4-export-script
Because it was on the weekend, I had to comment out the hour restriction: // && (Hour() >= StartHour) && Hour() < EndHour)
I made sure that the Symbol was one that had a lot of history downloaded like EURUSD, and the file path valid. My assumption:
The script exports the DAT data to CSV format. It should not be that tough to modify it into a normal csv format (instead of 5 records per line), and include the time stamp.
Then it should be easy to sort it on the time stamp. I will have to do all that. If you get the 5002 error you can get it go away.