error 136: no prices

 

Hi,


last night I got this error, I know what it means, but the weird thing is that after getting the error, my EA stopped working - it stopped moving the takeprofit, it stopped closing the orders, leaving one order open up until morning.


This is how I handle these errors:


if (Error == 136) {
Print("Received error: No prices. Waiting for a new tick...");
Sleep(10000); RefreshRates();
return(1); // Exit the function
}

 

What does error 136 mean? I've been getting it on OANDA for a fairly common currency pair (NZDUSD).

Reason: