Setting time

 
How do I set the time on chart. Currently showing 6 hours in advance. Thanks, Frank
 

Forum on trading, automated trading systems and testing trading strategies

What forex brokers offer MT5 and use eastern standard time?

Sergey Golubev, 2018.09.26 10:51

This is the standard which exists for many many years: time of the price on the chart (or Metatrader time) is according to the broker's server time.
So, the trader are trading according to broker's server time (and living according to his local time).

I can not remember even single case when the trader selects the broker to be on his local time ...

 

You can use custom indicators from CodeBase (it is free) to show any time (incl your local time, or any timezone, etc), but the price on the chart will be moved according to the broker's time anyway.

-------------

Examples - 

TimeZone Indicator - indicator for MetaTrader 4

TimeZones - indicator for MetaTrader 5

TimeZones - indicator for MetaTrader 4

4 Sessions - indicator for MetaTrader 4

TimeZones Six v2 - indicator for MetaTrader 4 

 
LeoDLion:
How do I set the time on chart. Currently showing 6 hours in advance. Thanks, Frank
It depends what you mean by time, and setting it. As Sergey says time on the chart is always broker time, ie wherever the server is located. Using code, that is TimeCurrent(). If you want your local time it is TimeLocal(), But if you're coding, I'd get used to broker time, as most if not all indicators will use it.
 
Why can't we just apply a local time zone together with the language setting? The server time zone of most of the brokers doesn't match mine.
 
lippmaje:
Why can't we just apply a local time zone together with the language setting? The server time zone of most of the brokers doesn't match mine.

Metatrader is just a software. And everything else is doing by the brokers: symbols/pairs to trade, the trading condition, spread, server/chart time, and so on.
Time on the chart = broker's server time.