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 :-)

Re: Why is D1 export limited to "from 2007"?

Hi Popov,

do you mind to participate about this question, please?

Thank you.

Re: Why is D1 export limited to "from 2007"?

It is because many brokers have broken data before 2007. If your data is good, you can remove or adjust the limitation.

Re: Why is D1 export limited to "from 2007"?

Ah I see. I have good data indeed. I was just wondering why such a limitation would be added, thanks for the clarification.