Time Zone Offset MT4

 

Looking for a simple way to change the time zone and print it on a chart.

So rather tha having TimeCurrent() or TimeGmt() I would like to specify for example GMT-5.

So something like TimeGMT-5.

I wonder if there is a function built in for this already, offsetting just for the hours to adjust to any desired time zone.

Thx

 
cmarconetti: Looking for a simple way to change the time zone and print it on a chart. So rather tha having TimeCurrent() or TimeGmt() I would like to specify for example GMT-5. So something like TimeGMT-5. I wonder if there is a function built in for this already, offsetting just for the hours to adjust to any desired time zone. Thx

You can't change the time-zone. That is set by the broker. You can however, create a custom display on the chart with whatever time-zone you want, but, there is no function for that. You will have to create your own.

Personally, I prefer to just add another clock to Windows time display in the taskbar.

Reason: