Error 128 Trade timeout

 

Hello Folks,

I'm experimenting with some code and recently receive the error 128 - trade timeout.

I tried to find a more helpful explanation, but couldn't get one. Can anybody please tell me and others what exactly this error code means?


Thank you in advance.

WorstCases

 

try to use RefreshRates() before OrderSend()

 
WorstCases:

Hello Folks,

I'm experimenting with some code and recently receive the error 128 - trade timeout.

I tried to find a more helpful explanation, but couldn't get one. Can anybody please tell me and others what exactly this error code means?


Thank you in advance.

WorstCases

Server didn't respond. Wait for some time and repeat request.

 
will a lousy internet connection cause this as well?
 
doshur:
will a lousy internet connection cause this as well?
Of course. A problem occurred somewhere. No way of knowing where. That's why EA's must be programmed to recover. https://www.mql5.com/en/forum/131145
Reason: