I found that the TimeGmt()
function is not accurate if the server time is set up wrong, especially for getting other timezones with daylight savings.
Is there any way to scrape time data from the internet and into the expert advisor? I found the WebRequest function but I don't really understand the parameters.
The clock on my laptop synchronizes with time.windows.com
. Is it also possible to do this in mt4? There are also other websites like time.is
.
Thanks