forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Software

Create and Test Forex Strategies

You are not logged in. Please login or register.


Forex Software → Technical Matters → Bug in the "Data Horizon" Menu

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 4

Topic: Bug in the "Data Horizon" Menu

Dear Popov,

I found the problem in the "Data Horizon" Menu. Every time I input the date, month and year I want (in the column "Use start date limit" and in "Use end date limit"), the number I inputted returns to the format "dd/mm/yyyy".

I've tried to re-upload the history data in the "Data Import" menu, the problem in "Data Horizon" is happening again.

My EA Studio version v22.1.7.

Please fix this. Thanks Popov...

Re: Bug in the "Data Horizon" Menu

Thank you for the report!

I'll check it today.

Re: Bug in the "Data Horizon" Menu

I think I fix the bug.

Please reload EA Studio and test it.

The bug was introduced this morning when I tried to fix another issue.

I found out that the previous version of EA Studio localizes the date texts in the Journal and Charts. A side effect is that the JavaScript language applies a local timezone shift.

A set of functions converts times and dates between strings and numbers for the UTC timezone.
I used:

const day = date.getUTCDay()

instead of the correct:

const day = date.getUTCDate()

Do you know what the difference is? smile)

Re: Bug in the "Data Horizon" Menu

Now it's back to normal, and running fine.

As it turns out, the difference between the date.getUTCDay() and date.getUTCDate() methods affects Data Horizon's dating function in EA Studio.

Thanks Popov...
You're really great... smile

Posts: 4

Pages 1

You must login or register to post a reply

Forex Software → Technical Matters → Bug in the "Data Horizon" Menu

Similar topics in this forum