CalendarValueHistory() freezing thread for 50 sec

 

Execution of this line of code is freezing the thread for exactly 50 seconds.


if(CalendarValueHistory(mqlcalendar_value,iTime("EURUSD",PERIOD_D1,1),iTime("EURUSD",PERIOD_D1,0),NULL,NULL))


Thereafter, the program continues without error but also without returning calendar values.

I have been using this code for a long time without problems and suddenly this issue came up.


Any idea, what's going on here?

 
I have the same problems with my homework.
 
miltonhem Hempton:
I have the same problems with my homework. Solve this problems with homeassignment service  assignmentyoda.com/programming/computer-science-assignment-help/

Very interesting solution.

Reason: