Broker Time Zones

Fernando Carreiro  
elevantsmarttrading: Does anyone know how to easily determine the time zone for a broker on MT4 or MT5?

Not completely possible, only partially.

All you can do is compare the trade server time to the local GMT time and calculate the current offset, but that will not tell your if it uses Daylight savings or not or when the changeover will occur. And this is only possible if the local time is correctly set and synchronised.

The best option is still to ask the broker or look up the information on their website.

Carl Schreiber  
elevantsmarttrading:
Does anyone know how to easily determine the time zone for a broker on MT4 or MT5?

Read my articles (MT5):

https://www.mql5.com/en/articles/9926
https://www.mql5.com/en/articles/9929

Dealing with Time (Part 1): The Basics
Dealing with Time (Part 1): The Basics
  • www.mql5.com
Functions and code snippets that simplify and clarify the handling of time, broker offset, and the changes to summer or winter time. Accurate timing may be a crucial element in trading. At the current hour, is the stock exchange in London or New York already open or not yet open, when does the trading time for Forex trading start and end? For a trader who trades manually and live, this is not a big problem.
Reason: