1 (edited by DrQuant 2026-08-10 09:36:32)

Topic: Data Import: NaN Start Date problem

Hi all,

Does anyone know why I'm getting a NaN start date when I import data (see screenshot below).

Data file attached if you want to try it yourself.

Thanks!

https://i.postimg.cc/QC0PjDnM/Capture.jpg

Post's attachments

XAUUSD1440.json 343.3 kb, 1 downloads since 2026-08-10 

You don't have the permssions to download the attachments of this post.

Re: Data Import: NaN Start Date problem

It must be a bug in the Data Import. It does not parse the bar Time before 2000 correctly.

I'll fix it later today.

Thank you for the report!

...

Actually, the bug is in the "Data Export.mq5" script.
It sets wrong times for the bars before 2000-01-01 00:00.
I'll fix it.

Re: Data Import: NaN Start Date problem

Great, thank you!

Re: Data Import: NaN Start Date problem

I uploaded a fixed version of the Data Export scripts.

Please see this post: Data Export.mq4 v6.4 and Data Export.mq5 v6.4 scripts have been uploaded

Please update your copy of the scripts and try again.

Re: Data Import: NaN Start Date problem

It works, thank you!

One related question - the EA Studio "Data Import" tab states that we can upload "up to 200,000 bars" but if I attempt to upload more than that it seems to work fine. Is using more than 200,000 bars actually okay?