What MQL4 error 5203 means
The official MQL4 runtime table names error 5203 ERR_WEBREQUEST_REQUEST_FAILED and defines it as “HTTP request failed.” WebRequest failed at the request stage. Record the actual error: invalid address, connection failure, and timeout have separate codes 5200, 5201, and 5202. A received HTTP 4xx/5xx status is also different from a -1 function failure.
An error-state value is supporting context, not proof that a call failed or a diagnosis of the whole EA. For noncritical API failures, read the return value and then GetLastError, which resets _LastError. Critical errors such as zero division terminate execution, so code after the failing expression cannot serve as a recovery handler.
