The time may not be same (and may be same one) ...
- Because your home Metatrader is working according to your broker's server time, and
- your MQL5 VPS is working according to VPS's server time (because MQL5 VPS is the Metatrader as well).
----------------
This is discussion thread:
https://www.mql5.com/en/forum/347153
![VPS time setting VPS time setting](https://c.mql5.com/36/41/vps-time-setting.jpg)
- 2020.07.20
- www.mql5.com
Hi, Sergey Golubev. Thanks for your answer. Do you know where I can find the time setting of the MQL5 VPS server?
But you can check VPS journal/logs for the time, and compare it with the timer on the chart in your home Metatrader or with the journal in your Metatrader (order opened, order closed,...).
By the way, the servers' time (Metatrader broker's time or MQL5 VPS servers' time) can not be fixed.
Hi, I recently found out that the time on my VPS server is 1 hour different from the time displayed on my MT4 platform, which I think is the broker's server time.
For example, if my EA opens a trade, the VPS journal will log the open time as 16:15. But on my MT4 terminal, the order open time is shown as 17:15, which is 1 hour ahead.
I am using Pepperstone and currently its server time is GMT+3, so I think the VPS server time is set as GMT+2. I don't know why they are not the same, how could I synchronize them?
You should make all your EA settings, based on your broker/server time, not on MQL5 VPS time.
You should make all your EA settings, based on your broker/server time, not on MQL5 VPS time.
Hi Eleni, why you giving conflicting answers?
14085
Hello,
I just set up a VPS through MT4 (https://www.metatrader4.com/en/trading-platform/vps) and synced it with an Oanda practice account. The MT4 platform Market Watch time and the VPS Details (CPU, Memory, Disk and Journal entries) times are different by one hour. Which time should I care about if I have an EA running that depends on the Hour?
Thanks!
Mike
Your EA settings must correspond to the VPS server time.
Hi Eleni, why you giving conflicting answers?
14085
Your EA settings must correspond to the VPS server time.
This almost 3 years old answer is wrong, I didn't know better at the time.
The EA should be setup with broker/server time in mind, not VPS.
The EA will trade checking broker/server time.This almost 3 years old answer is wrong, I didn't know better at the time.
The EA should be setup with broker/server time in mind, not VPS.
The EA will trade checking broker/server time.![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I recently found out that the time on my VPS server is 1 hour different from the time displayed on my MT4 platform, which I think is the broker's server time.
For example, if my EA opens a trade, the VPS journal will log the open time as 16:15. But on my MT4 terminal, the order open time is shown as 17:15, which is 1 hour ahead.
I am using Pepperstone and currently its server time is GMT+3, so I think the VPS server time is set as GMT+2. I don't know why they are not the same, how could I synchronize them?