What MQL4 error 5200 means
The official MQL4 runtime table names error 5200 ERR_WEBREQUEST_INVALID_ADDRESS and defines it as “invalid URL.” WebRequest received an address that is malformed or otherwise invalid for the request.
The error number is evidence about one failed call, not a diagnosis of the whole EA. Read the API sentinel first, then call GetLastError immediately because that function returns the current _LastError value and resets it.
