Randell Tsen Siong Khen:
Code:
Log:
Why is it an unsuccessful call? It was working fine before.
My bad, this should be the correct code.
MqlCalendarEvent events[]; Print(CalendarEventByCountry("", events)); Print(GetLastError());
It returns 5401, so how should I fix it, and would it be a good idea to keep retrying to retrieve for error 5401, and if so how many attempts is a reasonable one?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Code:
Log:
Why is it an unsuccessful call? It was working fine before.