How to apply market hours on MT4 and MT5
Market hours integration on FxPro MT4 and MT5 is achieved by using the broker server time as the base and then adding visual tools that map global forex sessions onto the chart. MT5 has native session tools and direct access to MQL5 indicators, while MT4 relies fully on third-party indicators for session highlighting. For South African traders, market hours are typically aligned to SAST (UTC+2), so indicators and Expert Advisors need to be configured with a GMT offset of +2. Once the offset is set, charts can display Sydney, Tokyo, London and New York sessions in local time, including key overlaps such as London-New York around midday to afternoon SAST. Automation is applied through MQL4/MQL5 EAs that filter trading by time of day, pause trading outside selected hours, or adapt risk to session volatility. Session tools do not change prices or execution; they only filter or highlight data so a trader can focus on preferred windows. The same approach applies to both live and demo accounts.
A typical setup looks like this:
Install MT4 or MT5 and log in to an FxPro account.
Check the server time in Market Watch.
Install a session indicator from the MQL community.
Set GMT offset to +2 to match SAST.
Enable or code EAs that trade only during selected sessions.
Backtest or forward-test before applying on a live account.
Platform time and SAST alignment
Both platforms display FxPro server time, which cannot be changed directly in the terminal. All tick data, candles, order timestamps and historical records are tied to this server time. For South African clients, this means local time must be mapped to server time, usually through an indicator or through mental conversion.
Key points for alignment:
- The Market Watch window always shows prices in server time.
- Local SAST (UTC+2) can be displayed using a local-time indicator that shows a second clock or labels on the chart.
- Most session indicators from the MQL community include a GMT offset parameter; setting it to +2 aligns sessions with South African time.
- When daylight saving shifts occur in London or New York, the relative distance to SAST changes, so indicator settings may need a one-hour adjustment.
Using market hours on MT5
MetaTrader 5 offers native tools that make session management more straightforward. Market Watch allows monitoring of active instruments and session statuses, and the platform supports 21 timeframes so the same session can be viewed on multiple scales.
To apply market hours on MT5:
Download a session indicator from the MQL5 Market, such as a Trading Sessions or Session Map tool.
Place the downloaded file in File > Open Data Folder > MQL5 > Indicators, then restart MT5.
Attach the indicator from the Navigator to any chart and set GMT offset to +2 for SAST.
Customize colors for Sydney, Tokyo, London and New York and choose which sessions to display.
Optionally enable alerts for session opens and closes.
For algorithmic trading, MT5 allows Expert Advisors to include rules such as:
Trade only during London or London-New York overlap.
Reduce position size in lower-liquidity Asian hours.
Suspend trading entirely outside predefined windows.
The MT5 Strategy Tester uses historical data based on real session conditions, so backtests can incorporate session logic and check performance in different time windows.
Using market hours on MT4
MT4 does not include built-in session shading, so traders rely on custom indicators from the MQL4 community. These indicators typically mark sessions with colored backgrounds or vertical lines.
Basic steps for MT4:
Download a compatible .ex4 or .mq4 session indicator.
Go to File > Open Data Folder > MQL4 > Indicators and copy the file there.
Restart MT4, then drag the indicator from the Navigator to a chart.
Set the GMT offset parameter to +2 so sessions appear in SAST.
Adjust visual options such as colors, line styles and which sessions to show.
MT4 uses a 32-bit architecture and typically runs efficiently with a moderate number of charts and indicators. When running several charts with session tools, it is practical to:
Limit the number of open charts.
Hide unused symbols in Market Watch to reduce load.
Keep indicator sets lean if multiple Expert Advisors are running simultaneously.
Session-based trading configuration
Once visual session tools are in place, trading rules can be organized around those hours. Typical configuration options include:
- Enabling One Click Trading during high-liquidity overlaps to react faster to price changes.
- Setting calendar or custom alerts around key macro releases, such as data that usually arrives mid-afternoon SAST.
- Running different strategies at different times (for example, a London breakout rule set and a New York reversal rule set on the same pair).
In both MT4 and MT5, custom scripts can automate repetitive tasks related to time:
Closing all open positions before weekend close.
Tightening or widening stop-losses as the market transitions between Asian, European and US sessions.
Disabling trading during hours that do not fit a strategy profile.
These scripts and EAs are written in MQL4 or MQL5 and should be tested in the Strategy Tester before being applied on live accounts.
Time zone specifics for South African traders
Traders in South Africa operate in SAST (UTC+2), which interacts in a particular way with global sessions. Session openings move relative to SAST when other regions enter or leave daylight saving time.
Typical SAST timings:
|Session|SAST Open|SAST Close|Typical behaviour| |Sydney|22:00 Sun|07:00 Mon|Lower volume, wider spreads| |Tokyo|01:00|10:00|JPY pairs more active, moderate spreads| |London|09:00/10:00|17:00/18:00|Higher EUR volume, generally tighter spreads| |New York|14:30/15:30|22:00/23:00|USD pairs active, tight spreads| |London - New York overlap|14:30/15:30|17:00/18:00|Higher liquidity and typically tighter spreads|
These times can shift by one hour during March-April and October-November as Europe and the US adjust clocks. Advanced indicators can account for daylight saving automatically, while simpler tools may require manual update of the offset parameter.
Performance and practical setup
Both MT4 and MT5 handle session indicators efficiently on standard hardware. Resource usage depends on:
- Number of open charts.
- Complexity of applied indicators.
- Number of symbols streamed in Market Watch.
Indicative ranges:
- MT4: around 256-512 MB RAM per terminal with a few charts and one EA; session indicators add a small overhead.
- MT5: roughly 512 MB to 1.2 GB RAM, reflecting 64-bit design and broader symbol handling; session tools typically add 10-50 MB.
For stable performance with multiple charts, indicators and EAs, a system with at least 4 GB RAM is advisable. This is particularly relevant during high-volatility overlaps when tick flow is higher. Session-based strategies behave consistently across FxPro account types, as execution and spreads follow underlying market liquidity through each session.
Frequently asked questions
How do I display market hours on MT4 in South Africa?
MT4 does not have built-in session tools, so you need to install a third-party indicator like 'Session Highlighter' or 'Market Hours' from the MQL4 community. Download the .ex4 or .mq4 file, place it in the Indicators folder via File > Open Data Folder, restart MT4, and drag the indicator onto your chart. Set the GMT offset to +2 to align sessions with SAST, and the indicator will highlight Sydney, Tokyo, London, and New York sessions on your charts.
Does MT5 show forex market hours automatically?
MT5 does not automatically show session boxes on charts, but it provides better native support than MT4 through the Market Watch window and access to free session indicators in the MQL5 market. You can install tools like 'Session Map' or 'Trading Sessions' that highlight active hours with visual bars. Configure the GMT offset to +2 for South African time, and the sessions will display in SAST across all timeframes.
Can I backtest a strategy that only trades during London session on MT5?
Yes, MT5's Strategy Tester supports backtesting with time filters built into your EA code using MQL5. You write conditions that allow trades only during specified hours, for example 08:00–16:00 GMT for the London session, adjusted by your broker's server offset. The tester will then simulate trades only within those hours using historical tick data, so you can evaluate session-specific performance before going live.