Did You read "MQL4: Execution errors" ?
Did You read "MQL4: Execution errors" ?
Hi Slawa,
Yes I have read and studied all the possible errors.
But your reference point above still does not specifically say what a "timeout error" is.
What is a timeout error? What does it involve? Does it relate to market orders or pending orders only? Can you please give me an example of when an order would get "timed out"?
Thank you Slawa.
Kind regards
RJF
It is easy.
Each trade operation (send market or pending order, modify market or pending order, close market order, delete pending order) passes 3 stages:
1. request to server
2. processing by server
3. answer from server
Client must wait for answer from server. Server answers OK or some error code. But in the case of broken connection or network problems client can wait infinitely.
Network subsystem of the client terminal generates timeout error after few minutes to avoid endless waiting.
We do not know exactly on which stage (1 or 3) network problems appeared. Therefore after timeout error you need to check whether your request processed by the server or not
Each trade operation (send market or pending order, modify market or pending order, close market order, delete pending order) passes 3 stages:
1. request to server
2. processing by server
3. answer from server
Client must wait for answer from server. Server answers OK or some error code. But in the case of broken connection or network problems client can wait infinitely.
Network subsystem of the client terminal generates timeout error after few minutes to avoid endless waiting.
We do not know exactly on which stage (1 or 3) network problems appeared. Therefore after timeout error you need to check whether your request processed by the server or not
It is easy.
Each trade operation (send market or pending order, modify market or pending order, close market order, delete pending order) passes 3 stages:
1. request to server
2. processing by server
3. answer from server
Client must wait for answer from server. Server answers OK or some error code. But in the case of broken connection or network problems client can wait infinitely.
Network subsystem of the client terminal generates timeout error after few minutes to avoid endless waiting.
We do not know exactly on which stage (1 or 3) network problems appeared. Therefore after timeout error you need to check whether your request processed by the server or not
Each trade operation (send market or pending order, modify market or pending order, close market order, delete pending order) passes 3 stages:
1. request to server
2. processing by server
3. answer from server
Client must wait for answer from server. Server answers OK or some error code. But in the case of broken connection or network problems client can wait infinitely.
Network subsystem of the client terminal generates timeout error after few minutes to avoid endless waiting.
We do not know exactly on which stage (1 or 3) network problems appeared. Therefore after timeout error you need to check whether your request processed by the server or not
Thank you Slawa. I now understand this isssue.
Regards
RJF
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
I could not find out what "trade timeout" means. Can I get a trade timeout error message (error # 128) for a market order? Or can I only get trade timeout error message for pending orders?
Can you also please give me an example of when an order "times out"?
Thank you for your help.
Regards
Rod