Topic: Why is D1 export limited to "from 2007"?
It took me a while to find out why the Data Export script for MT4 would only export my D1 data from 2007 until I found this in the code:
if (period == PERIOD_D1)
{
datetime from = D'2007.01.01 00:00';
datetime to = TimeCurrent();
bars = CopyRates(symbol, period, from, to, rates);
}
Why do you limit the export for D1 from 2007 only? My D1 data goes back to 1986. I have changed it to "1986.01.01" and that works just fine, but what am I missing, is there any technical issue with D1 data prior to 2007 with EA Studio so that it cannot handle it correctly?
Thank you :-)