- You cannot change the time shown in MetaTrader 5 or MetaTrader 4: chart and quote times follow the broker’s trade server time zone, which only the broker sets.
- Your computer or phone clock does not change chart time. To read server time in your own zone, add or subtract the offset between server time and your local time.
- In MQL5, TimeTradeServer() returns the calculated server time and TimeGMTOffset() returns the gap between GMT and your local computer clock; together with TimeGMT() they give you the server offset.
- The US and the EU change clocks on different Sundays, so each spring and autumn there are “transition weeks” when US and European sessions sit one hour away from their usual server times.
- For administrators, a DST change is a scheduled project: weekday sessions, quote and history alignment, swap rollover timing, and a client notice, all checked before and after the switch.
- Write the DST procedure down once as a checklist and reuse it twice a year, so the change never depends on one person’s memory.
Short answer: can you change the time in MT5?
No. You cannot change the time zone of MetaTrader 5 (or MetaTrader 4) from the terminal. The times on charts, in Market Watch and in your trade history are the time of the broker’s trading server. The broker chooses that time zone, and there is no setting in the desktop, web or mobile terminal that moves it to your local time.
According to the MetaTrader 5 help, quote time in Market Watch is “specified according to the time zone of the broker’s trading server”. That is why a daily candle on your chart may open at what looks like an odd hour in your own city. The terminal is not wrong. It is showing broker time.
What you can do:
- Work out the offset. Compare the server time shown in Market Watch with your local clock and note the difference in hours. Add or subtract it whenever you read a chart.
- Remember that the offset can change twice a year. If the broker’s server follows daylight saving time (DST) and your country does not, or switches on a different date, the gap between your clock and the chart moves by an hour.
- Use an indicator or script that draws local-time labels or session boxes. These calculate from server time. They do not change the data.
Server time vs local time in MetaTrader
MetaTrader keeps several clocks, and most confusion comes from mixing them up. The table below shows which one you see where.
| Clock | Who sets it | Where you see it | Can a trader change it? |
|---|---|---|---|
| Trade server time | The broker (server configuration) | Market Watch, chart time axis, candle open times, trade and history timestamps | No |
| Local time | Your operating system | Your computer or phone clock; TimeLocal() in MQL5 | Yes, but it does not move charts |
| GMT / UTC | Fixed reference | TimeGMT() in MQL5, calculated from your local clock and its time zone settings | No (it depends on your PC clock being correct) |
| Exchange or market time | The venue (for example a US or European exchange) | Broker trading-hours pages, symbol specifications converted to server time | No |
Many retail brokers typically run their servers on a time zone that is two hours ahead of GMT in winter and three hours ahead during US daylight saving time. The reason usually given is that this makes the daily candle close at the New York 5 p.m. close and produces five daily candles a week instead of a small Sunday candle. This is a common convention, not a rule: some brokers use GMT, some use their local time, and some do not follow DST at all. Always check with your own broker.
Changing the time display in MT4 and MT5: what works
People search for “cambiar horario MetaTrader 4” or “how to change time zone in MT5” hoping for a menu option. There is none, but these steps solve the real problem in most cases.
- Find the current server time. In MT5 and MT4 desktop, the time of the last quote is shown at the top of Market Watch. On mobile, quote times appear in the quotes list and in the trade history.
- Find your local time and subtract. For example, if the server shows 14:00 and your clock shows 13:00, the server is one hour ahead of you.
- Write the offset down with the date. Recheck it after any DST change in your country or in the broker’s chosen zone.
- Use a local-time indicator if you want the chart to show your hours. It adds labels; the candles stay in server time.
- Check the symbol specification (right-click the symbol in Market Watch, then Specification) to see trading and quote sessions per weekday in server time.
If what you need is daily candles that close at a different hour, the only full solution is a broker whose server uses that time zone, or building custom candles yourself (for example with a custom symbol). The standard chart cannot be shifted.
For coders: TimeTradeServer, TimeGMTOffset and server offset
Expert Advisors and indicators often need to know the server offset, for example to trade only during the London session in local terms. MQL5 gives you four functions:
TimeTradeServer()returns the calculated current time of the trade server. The calculation is done in the client terminal, so it keeps moving even when no new quote has arrived.TimeCurrent()returns the time of the last known server quote. It does not change while the market is closed.TimeGMT()returns GMT, calculated from your computer’s local time and its time zone and DST settings.TimeGMTOffset()returns the current difference in seconds between GMT and your local computer time, taking DST into account. It describes your PC, not the server.
To get the server’s offset from GMT, a common approach is (TimeTradeServer() - TimeGMT()), rounded to the nearest half hour or hour. Because the server offset can change by an hour at the broker’s DST date, do not hard-code it. Recalculate it at start-up and at least once a day, and log it so you can see when it changes.
Two traps to avoid:
- Using TimeCurrent() at the weekend. It returns the time of Friday’s last tick, so any offset calculated from it on Sunday will be wrong.
- Assuming the server and exchange change clocks on the same day. A server that follows US DST shifts on the US date; a European index still opens on European time. During transition weeks the two disagree by an hour.
Why DST matters for MetaTrader brokers
From here on, this guide is for broker administrators. For a broker, DST is not a display question. It changes when markets open and close relative to the server clock, and that touches trading sessions, candles, swaps, reports and support tickets.
What can go wrong if nothing is adjusted:
- Sessions open an hour early or late. Index, stock and commodity CFDs follow their exchange hours. If the server time and the exchange shift on different dates, the configured session no longer matches the real market.
- Quotes arrive outside the quote session and are ignored, or the session is open while the liquidity provider has no prices, producing stale quotes and gaps.
- Daily candles change shape. If the server time zone moves but the data feed does not, a candle can include an extra hour or lose one.
- Swaps are charged at an unexpected moment. Rollover is tied to the server day change; clients who hold positions across the rollover notice immediately.
The MetaTrader 5 broker platform lets administrators and other role-based managers control trade conditions including trade sessions and swaps. That control is exactly what makes DST a planned task: nothing changes on its own unless your configuration or your server time policy changes it.
US vs EU DST: the transition weeks
The United States starts DST on the second Sunday of March and ends it on the first Sunday of November. The European Union switches on the last Sunday of March and the last Sunday of October. The gap between the two creates transition weeks: usually two or three weeks in spring and one week in autumn.
| Transition | United States | European Union / UK | Transition period |
|---|---|---|---|
| Autumn 2026 (clocks back) | Sunday 1 November 2026 | Sunday 25 October 2026 | One week (26–30 October) |
| Spring 2027 (clocks forward) | Sunday 14 March 2027 | Sunday 28 March 2027 | Two weeks (15–26 March) |
| Autumn 2027 (clocks back) | Sunday 7 November 2027 | Sunday 31 October 2027 | One week (1–5 November) |
Other regions matter too. Australia changes clocks in the opposite season, and markets such as Japan, Hong Kong and Singapore do not use DST at all. If you offer Asia-Pacific indices, their sessions shift relative to a DST-following server even though the exchange itself never changes its hours.
Consider a server that follows US DST (the common New York close convention):
- US instruments stay at the same server hours all year, because the server moves with New York.
- European instruments move by one hour in server time during transition weeks, then return to their usual server hours once Europe switches too.
- Asian instruments move by one hour in server time for the whole DST season.
A server that follows European DST has the opposite pattern. Map your own server policy against each market before you touch any configuration.
Let an administrator handle DST and session changes
Daylight saving weeks, holiday sessions and server-time questions come round every year and are easy to get wrong under time pressure. Our MT4/MT5 administrators plan the changes, apply them across symbols and groups, check quotes and history afterwards and prepare the client notice. Choose on-call help for specific tasks, or a part-time or full-time dedicated administrator for your MT4/MT5 servers.
See how hiring an MT5 administrator works or contact us for a free consultation.
Decide your server time policy before the change
Every DST plan starts with one question: does your server clock move, and on which date? There are three common policies:
- Follow US DST (for example a GMT+2 / GMT+3 pattern). Daily candles stay aligned with the New York close; European and Asian sessions need adjustment.
- Follow European DST. Suits brokers focused on European markets; US sessions shift during the transition weeks.
- Fixed offset with no DST. The server clock never moves; every DST-following market shifts by an hour twice a year.
Whichever you choose, document it. Changing the policy itself is a much bigger job than a normal DST switch, because it affects historical data, daily candles, swap timing, reports and any client EA that has assumed the old offset. If you are considering it, plan it as a project with a test environment, not as part of a routine DST week.
Adjust sessions per weekday
In MetaTrader 5, each symbol has quote and trade sessions defined per weekday, and the specification that clients see lists them in server time. During a DST change you adjust these sessions for each affected symbol or symbol group.
A practical way to work:
- Build a session matrix. List each affected symbol or group, its exchange hours in local exchange time, and the resulting server times before, during and after the transition weeks.
- Group symbols by schedule. US indices, European indices, Asian indices, energy, metals and US stock CFDs usually share schedules within each group. Updating by group reduces mistakes.
- Remember both sessions. Quote sessions and trade sessions are separate. Updating only trade sessions leaves quotes filtered at the wrong hours, and the reverse produces quotes with no trading.
- Check each weekday. Monday open and Friday close often differ from midweek, and some instruments have a daily break. A shift that crosses midnight moves time from one weekday to the next.
- Prepare the change in advance and apply it in a quiet window, ideally at the weekend before the transition. Keep a copy of the old values for rollback.
- Repeat at the end of the transition week. In the US-DST model, European sessions are changed for the transition week and then changed back once Europe switches. Put both dates in the calendar.
Coordinate DST edits with holiday schedules so one change does not overwrite the other. Our guide to adding a new symbol in MT5 covers how sessions are set up in the first place.
Quotes, history and swap timing
Once sessions are correct, check the three areas that clients notice first.
Quotes and history alignment
- Confirm that your data feed or liquidity provider sends prices with time stamps that match your server policy, and whether it changes its own clock on the same date.
- After the change, compare the first H1 and D1 bars with a reference source. Look for a duplicated hour, a missing hour or an unusually long or short daily candle.
- Check that the market opens and closes on the expected bar, with no quotes leaking into a closed session.
Swap rollover timing
Swaps are charged at the server rollover. In MetaTrader 5, the specification also holds a swap multiplier for each day of the week; the MetaTrader 5 help uses the example of Wednesday set to 3, which triples the rollover from Wednesday to Thursday. A DST change does not change those multipliers, but it can change what rollover means in real-world terms:
- If the server follows US DST, rollover stays at the New York close all year.
- If the server and the New York close drift apart during a transition week, rollover happens one hour earlier or later relative to the market. Check whether that affects your liquidity provider’s own rollover and any swap-free group logic.
- Verify the first rollover after the switch: correct day, correct multiplier, correct amounts by swap type. See our guide to updating swap rates in MT5 for the verification steps.
Client communication template
Most DST support tickets come from clients who did not know the hours were changing. A short notice, sent a week before each transition and repeated the day before, prevents most of them. Publish it on the website, in the client portal and, where your setup allows, as a terminal mail or news item.
A template you can adapt:
Subject: Trading hours during the daylight saving time change
Dear client,
Clocks in [Europe / the United States] change on [date]. From [date] to [date], trading hours for the following instruments will be one hour [earlier / later] in platform (server) time: [list or link to instrument groups].
Our server time is [GMT+X] and will change to [GMT+Y] on [date] / will not change. Daily candles and swap rollover remain at [time] server time.
The full trading-hours schedule is available at [link]. Please review pending orders and any automated strategies that use fixed hours. If you have questions, contact our support team at [contact].
List the exact instruments, not just “indices”, and always say whether the server clock itself changes.
DST checklist for MT5 administrators
Use this as a starting point and adapt it to your setup. A printable version sits with our other MT5 admin checklists.
Two to three weeks before
- Confirm US, EU, UK, Australian and other relevant DST dates for the season.
- Confirm your server time policy and whether the server clock changes, and on which date.
- Build or update the session matrix for every affected symbol group.
- Check the data feed, liquidity provider and bridge DST behaviour.
- Cross-check holiday schedules that fall in the same weeks.
One week before
- Prepare session changes and keep a backup of current configuration.
- Get sign-off from dealing or risk.
- Publish the client notice and brief support.
Change weekend
- Apply session changes in the maintenance window and log each change.
- If the server clock changes, verify server time against GMT after the switch.
First trading day after
- Watch each group open: quotes start, trading starts, no early or late fills.
- Compare H1 and D1 bars with a reference.
- Check the first rollover and swap charges, including the triple-swap day.
- Check end-of-day reports and statements.
- Monitor tickets and reply with the published schedule.
End of the transition period
- Apply the second set of session changes when the other region switches.
- Repeat the open, quote and rollover checks.
- Record lessons learned in the procedure for next season.
Terms such as rollover are explained in our glossary. Server-side monitoring helps catch problems quickly on the first day. Our guide to monitoring MT5 server health lists alerts worth adding, and the reporting automation guide covers scheduled reports that depend on server time.
Getting help and sources
If your team would rather hand the twice-yearly DST procedure to specialists, you can hire an outsourced MT5 administrator. We have deployed 500+ servers for brokers in 50+ countries and provide 24/7 support. We are independent and not affiliated with MetaQuotes.
Sources
- MetaTrader 5 Help: Market Watch (quote time in server time zone, symbol specification, sessions, swap multipliers)
- MQL5 Reference: TimeTradeServer
- MQL5 Reference: TimeGMTOffset
- MetaTrader 5 for brokers (role-based managers and trade conditions)
Frequently asked questions
Can I change the time zone in MT5?
No. The time shown in MetaTrader 5 is the broker’s trade server time, and the terminal has no setting to change it. You can calculate the offset to your local time, or use an indicator that adds local-time labels, but the candles themselves stay in server time.
How do I change the time in MetaTrader 4?
You cannot change it in MetaTrader 4 either. MT4, like MT5, shows the time zone of the broker’s server. Compare the time at the top of Market Watch with your clock to find the offset, and recheck it after DST changes.
Why is MT5 time different from my computer time?
Because MT5 shows server time, which the broker chooses, while your computer shows local time. The difference is the offset between the two zones. It can change by an hour when either your country or the broker’s server switches DST.
What time zone are MT5 servers on?
It depends on the broker. Many retail brokers typically use a zone two hours ahead of GMT in winter and three hours ahead during US daylight saving time, so daily candles close at the New York close. Others use GMT or their local time, so check your broker’s trading-hours page.
Does changing my phone or PC clock change MetaTrader charts?
No. Your device clock affects local time and functions such as TimeLocal() and TimeGMT(), but chart times, candles and trade history follow the server. A wrong device clock can, however, confuse indicators that calculate local time.
What is the difference between TimeTradeServer() and TimeCurrent()?
TimeTradeServer() returns the calculated current time of the trade server and keeps running even without new quotes. TimeCurrent() returns the time of the last known quote, so it stops when the market is closed. For offset calculations, especially at weekends, TimeTradeServer() is the safer choice.
How do I get the broker’s GMT offset in MQL5?
A common method is to subtract TimeGMT() from TimeTradeServer() and round the result to the nearest hour or half hour. TimeGMTOffset() alone gives the offset of your local computer, not the server. Recalculate the value regularly because it can change at DST.
What does DST mean for trading hours in MetaTrader?
When DST starts or ends, the real opening hours of some markets move relative to the server clock. Brokers adjust symbol sessions so trading still matches the exchange. During US and EU transition weeks, some instruments open an hour earlier or later in platform time.
When are the DST transition weeks?
The US switches on the second Sunday of March and the first Sunday of November; the EU switches on the last Sunday of March and October. For autumn 2026 that is 25 October (EU) and 1 November (US), and for spring 2027 it is 14 March (US) and 28 March (EU).
Does DST change swap or rollover times in MT5?
Rollover happens at the server day change, so it follows the server clock. If the server follows US DST, rollover stays at the New York close all year. Administrators should still verify the first rollover after each change, including the day with the triple swap multiplier.
Who adjusts sessions for DST at a broker?
Usually the MetaTrader administrator or a manager with permission to edit symbols and sessions, with sign-off from dealing or risk. The work covers session changes per weekday, feed alignment checks, swap verification and client communication.
Can a broker change its server time zone?
Technically yes, but it is a major change. It affects historical candles, daily bars, swap timing, reports and client EAs that assume a fixed offset, so it should be planned and tested separately from a routine DST switch.