I wrote below code both MQL4 and MQL5, MT4 working well but MT5 can't download data, It say "TLS - invalid token Error".
string cookie = NULL,headers;
char post[],result[];
string _url = "http://time.is/UTC";
ResetLastError();
int timeout = 60000;
int res = -1;
res = WebRequest("GET",_url,cookie,NULL,timeout,post,0,result,headers);
MT4 and MT5 both code are same. In MT4 download website data successfully but in MT5 it can't download website data it can download only text this = "TLS - invalid token Error"
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Dear,
I wrote below code both MQL4 and MQL5, MT4 working well but MT5 can't download data, It say "TLS - invalid token Error".
MT4 and MT5 both code are same. In MT4 download website data successfully but in MT5 it can't download website data it can download only text this = "TLS - invalid token Error"
Is anyone know about this issue