GMT_Offset
The parameter GMT_Offset is to adjust the GMT time to Server time of your broker. Since there are different brokers from around the world in different time zones, the Server time vary widely.
GMT_Offset = Server time - GMT time.
GMT_Offset is also used to calculate the correct news time in News Filter. If a big news occurs at 1:00 GMT time, and the GMT_Offset of the broker is 3, then it will occur at 4:00 server time. So GMT_Offset must be correctly calculated to activate the News Filter.
If Auto_GMT_Offset is set to be true, the EA will acquire the Server time and GMT time, calculate GMT_Offset automatically, you don't need do anything. But in some cases, the calculation may be incorrect. To make sure, you can check the GMT time online and calculate by yourself.
For example:
In this case, Server time is 3:13, GMT time is 00:13, so GMT_Offset is 3.
If the EA's calculation is wrong, you can set the Auto_GMT_Offset false, and set the GMT_Offset 3.
Or you can download the time synchronization tool, start it and restart the EA with default setting.
Time synchronization tool: http://www.timesynctool.com/
GMT_Offset 参数是用来调整GMT时间和经纪商的服务器时间。因为不同的经纪商处于全世界不同的时区,所以服务器时间也不一样。
GMT_Offset = 服务器时间 - GMT时间。
GMT_Offset也被用来调整新闻过滤器中的新闻时间。如果新闻将在GMT时间1:00发生,经纪商的GMT_Offset是3,那么转换成服务器时间就是4:00发生新闻。所以必须正确计算GMT_Offset才能使新闻过滤器有效。
如果参数Auto_GMT_Offset是true,EA会自动获取服务器时间和GMT时间,自动计算参数GMT_Offset,你不用做任何事。但在某些情况下,由于电脑时间设置不正确,计算可能会出错。为了确保无误,你可以自己上网查询GMT时间来自己计算参数GMT_Offset。
例如:
在下例中,服务器时间是3:13,GMT时间是00:13,所以GMT_Offset等于3。
如果EA自动计算GMT_Offset有误,你可以把Auto_GMT_Offset设置为false,然后把GMT_Offset手动设置为3。
另外一种方法是下载一个时间同步软件,启动软件并重启EA,使用默认参数。
时间同步软件下载: http://www.timesynctool.com/