Posted By: nanotir
Problem with convert script and histdata - 02/20/16 07:55
Hi
The 2016 data from histdata are splitted in months. It means that there is a file for January and a file for february.
So the convert script look like this:
The problem is that the data from the february file overwrite the data from January in the 2016.bar file.
The 2016 data from histdata are splitted in months. It means that there is a file for January and a file for february.
So the convert script look like this:
Quote:
string InName = "History\\DAT_ASCII_GBPUSD_M1_201601.csv";
//string InName = "History\\DAT_ASCII_GBPUSD_M1_201602.csv";
string OutName = "History\\GBPUSD_2016.bar";
//string InName = "History\\DAT_ASCII_GBPUSD_M1_201602.csv";
string OutName = "History\\GBPUSD_2016.bar";
The problem is that the data from the february file overwrite the data from January in the 2016.bar file.