LastError() == 4073 (ERR_NO_HISTORY_DATA) - how can I avoid this?

 

My EA wanted to query iLow, iHigh.. values and the terminal said 4073.

Does anybody have any idea how to avoid this problem? 

Thanks,

 
Norbert Molnar:

My EA wanted to query iLow, iHigh.. values and the terminal said 4073.

Does anybody have any idea how to avoid this problem? 

Thanks,

loop wait for history update, before continuing.

Reason: