I have used the code shown in the manual to export data in order to compare them with the data provided by FXCM through MetaTrader :
function run()
{
BarPeriod = 60;
StartDate = 20150511;
EndDate = 20150518;
LookBack = 0;
char line[100];
sprintf(line,"%02i/%02i/%02i %02i:%02i, %.5f, %.5f, %.5f, %.5f\n",
day(),month(),year()%100,hour(),minute(),
priceOpen(),priceHigh(),priceLow(),priceClose());
if(is(INITRUN))
file_delete("C:\\Users\\Olivier\\Documents\\export.csv");
else
file_append("C:\\Users\\Olivier\\Documents\\export.csv",line);
}
and once again these data are completely different, which should not be the case as the source is supposed to be the same and both Zorro and MetaTrader are at UTC.
I had purchased in the past a tool to download data from FXCM, the historical data downloader and they are almost the same than the one loaded in MetaTrader, I am very concerned by this difference, could you please give me an explaination ?
thanks
Last edited by byakuren81; 05/19/15 15:04.