MT4 → MT5 migration
MT4 to MT5 migration for brokers, planned end to end
An MT4 to MT5 migration is not a file copy: MT5 is a different server platform with its own account modes, group and symbol settings, plugins and programming language. A safe migration maps your MT4 setup to MT5, runs both platforms in parallel, moves clients in planned waves and retires MT4 on a date clients know well in advance.
- Hedging vs netting account mapping
- Groups, symbols and plugins mirrored on MT5
- Parallel run with planned client waves
- Clear answers on history and open positions
MT4 to MT5 migration involves assessing accounts, groups, symbols and plugins, mapping them to MT5 (including hedging or netting), running both platforms in parallel, moving clients and decommissioning MT4.
Short answer
What an MT4 to MT5 migration actually involves
For a broker, moving from MetaTrader 4 to MetaTrader 5 means standing up a new MT5 server environment, recreating your trading conditions on it, and then moving clients across. MT4 and MT5 do not share a database, a plugin format or a programming language, so there is no button that converts one server into the other. What you can do is reproduce the business logic — groups, symbols, spreads, swaps, margin rules, routing and integrations — and make the switch predictable for clients.
In practice a migration has five phases: assessment of what you run today, mapping of every MT4 setting to its MT5 equivalent, a parallel run where MT5 is tested while MT4 keeps trading, the client move in planned waves, and finally decommissioning MT4 on a published date. Most of the risk sits in the mapping and in client communication, not in the server installation itself.
If you are still deciding whether to move at all, start with our MT4 vs MT5 comparison. If you already know the destination, the rest of this page explains how we plan the route, and our longer MT4 to MT5 migration guide goes deeper into each step.
Context
Why brokers are moving to MT5 now
MetaQuotes stopped issuing new MT4 licences to new clients in January 2018, as reported by Finance Magnates at the time, and industry reports describe MT4 white labels being discontinued in 2022 and MT4 licence fees rising from January 2025. Existing MT4 servers keep working, but the platform is no longer where new features, new licences or vendor investment go.
MT5 also changes what a broker can offer. According to MetaQuotes’ own broker comparison, MT5 supports both hedging and netting accounting, unlimited symbols (MT4: 1,024), unlimited account groups (MT4: 512), a distributed server architecture instead of a single server, built-in order routing, and multiple asset classes beyond forex. For traders it adds 21 timeframes instead of 9, six pending order types instead of four, depth of market and an economic calendar.
MT4 end-of-life is now dated at some brokers. OANDA Japan announced on 18 September 2026 that new MT4 orders would stop at market close on 25 September 2026 and that its MT4 service ends at close on 27 November 2026, after which MT4 login is no longer possible; it cited stricter cybersecurity requirements and recommends MT5. FOREX.com Japan stopped opening new MT4 accounts on 20 June 2026. These are individual broker decisions, but they show where the market is heading.
For many brokers, though, the real driver is simpler: liquidity providers, bridge vendors, plugin developers and new clients increasingly expect MT5. Running MT4 alone becomes harder to justify each year, and running both indefinitely doubles the operational work.
Timeline
A typical migration timeline
Durations are illustrative. A small single-entity broker can move faster; a multi-entity setup with custom plugins usually needs longer. We agree the real schedule after the assessment.
| Phase | Typical duration | Main outputs |
|---|---|---|
| 1. Assessment | 1–2 weeks | Inventory of groups, symbols, plugins, bridges, CRM/back-office links, reports and EAs; risk list; go/no-go criteria |
| 2. Mapping and design | 1–2 weeks | Account mode decision (hedging/netting), group and symbol mapping sheet, plugin replacements, MT5 server topology |
| 3. Build and configure | 2–3 weeks | MT5 servers installed, groups and symbols mirrored, liquidity bridge and feeds connected, plugins configured, managers and permissions set |
| 4. Parallel run and testing | 2–4 weeks | Internal and pilot accounts trading, price and swap checks against MT4, reports and back-office reconciled |
| 5. Client migration waves | 2–6 weeks | Client notices, MT5 accounts issued, funds and positions handled per agreed policy, support team on hand |
| 6. Decommission MT4 | After a published final date | MT4 trading stopped, final statements, data archived according to your retention obligations |
Phases 3 and 4 often overlap. Regulatory notice periods in your jurisdiction may set the minimum length of phase 5.
Account modes
Hedging vs netting: mapping MT4 accounts to MT5
This is the single most important design decision in a migration. MT4 has one accounting model: every trade is a separate ticket, and a client can hold buy and sell positions on the same symbol at the same time. MT5 offers two models, set per account group:
- Hedging — in MetaQuotes’ words, “multiple open positions… including oppositely directed ones” on the same symbol. This behaves like MT4 and has been available in MT5 since March 2016.
- Netting — “only one position can exist” per symbol. A new deal increases, reduces, closes or reverses that position. This is the model used on exchanges and for exchange-traded instruments.
| MT4 situation | Recommended MT5 mode | Why |
|---|---|---|
| Retail forex and CFD clients, many EAs, grid or hedge strategies | Hedging | Keeps the behaviour clients and their tools expect; fewer surprises at go-live |
| Prop or evaluation accounts with hedging rules | Hedging (with rules enforced by plugin or risk tools) | Lets you keep the same rulebook and enforce it consistently |
| Exchange instruments, futures, stocks | Netting | Matches how exchange positions are reported and cleared |
| Institutional or professional accounts wanting one net position | Netting | Simpler position reporting and margin per symbol |
Mixed setups are common: hedging groups for retail CFDs and netting groups for exchange products, on the same MT5 platform. What matters is deciding up front, because the account mode is tied to the group and changes how EAs, reports, risk rules and your risk management exposure views behave.
Server side
Mirroring groups, symbols and integrations on MT5
The goal is that a client moving from MT4 sees the same trading conditions on MT5, unless you deliberately decide to change them.
Groups
Each MT4 group is mapped to an MT5 group with matching leverage, margin call and stop-out levels, commissions, currency and permissions. MT5 groups have more settings, so defaults must be reviewed, not assumed.
Symbols
Contract sizes, digits, spreads and markups, swaps, trading sessions, margin rates and execution modes are recreated and checked symbol by symbol against the live MT4 values.
Liquidity and feeds
Bridges, gateways and quote feeds must support MT5. Many vendors provide an MT5 version, but configuration, symbol mapping and routing rules are rebuilt and tested.
Plugins
MT4 plugins do not run on MT5. Each one is replaced by an MT5 version, an alternative product or built-in MT5 functionality such as routing rules.
Reports and back office
CRM, back-office, reporting and regulatory exports are reconnected through MT5 Manager, Web or Report APIs, and reconciled against MT4 output during the parallel run.
Managers and access
Dealer, risk and support roles are recreated with role-based permissions, and access points are set up so the trade server is not exposed directly.
Testing
Running MT4 and MT5 in parallel
A parallel run means MT4 keeps serving clients while MT5 runs live on real prices with internal and pilot accounts. It is the stage that catches the problems mapping sheets miss: a swap that was entered with the wrong sign, a session time in the wrong time zone, a bridge rule that routes one symbol differently, or a report that totals commissions differently.
During the parallel run we compare quotes, spreads, swaps and margin on both platforms, test every order type and execution mode you plan to offer, confirm stop-out behaviour, and reconcile daily reports with your back office. Only when the agreed go/no-go criteria are met do client waves start. Monitoring is set up on MT5 from day one, so the same support and monitoring that will cover production is already watching the new servers.
The parallel period also gives clients time. Many traders want to install MT5, rebuild their charts and test their tools on a demo or a small live account before they commit. A rushed cut-over removes that time and moves the problems to your support desk.
Clients
Client communication plan
Clear, repeated communication prevents most migration complaints. A typical sequence looks like this.
Announcement
Explain why you are moving, the key dates, what changes for clients and what stays the same. Link to a migration help page.
EarlyHow-to material
Publish download links, login instructions, a guide to MT5 order types and account modes, and notes for EA and indicator users.
Before wave 1Account issuance
Create MT5 accounts in the agreed groups and send credentials securely through your client area, not in plain email where avoidable.
Per waveReminders
Send reminders before the last day to open new MT4 trades and before the final MT4 shutdown date.
Ahead of each deadlineFinal notice and statements
Confirm MT4 closure, provide final statements and explain where clients can request older history.
At decommissionHard questions
History and open positions: what can and cannot move
Can open MT4 positions be moved to MT5?
There is no native MetaQuotes function that transfers open positions from an MT4 server to an MT5 server. Brokers either ask clients to close positions before a deadline, or recreate positions on MT5 at agreed prices using administrative tools or third-party migration utilities. The second route is possible but must be handled carefully for pricing, swaps, margin and regulatory record-keeping, and its fairness explained to clients.
Will trading history be visible in MT5?
Usually not as native MT5 history. MT4 trade history stays in the MT4 database and should be archived and kept available for statements and regulatory retention. Some brokers import balance records or summary history into MT5 or show full history in their client portal; the right choice depends on your back office and obligations.
What happens to client balances?
Balances are typically moved as a balance operation from the MT4 account to the new MT5 account, ideally after positions are closed, and reconciled in your back office. Every transfer should be logged so it can be traced in both systems.
For traders · mt4 設定 移行
Client-side settings: what traders need to know
Many searches about migration — including Japanese queries such as “mt4 設定 移行”, “mt4からmt5” and “mt5 引き継ぎ” — come from traders whose broker is closing MT4. It helps to give them a straight answer: most MT4 terminal settings cannot simply be copied into MT5. They need to be checked and usually rebuilt.
| MT4 item | Where it lives | Moves to MT5? |
|---|---|---|
| Data folder | File → Open Data Folder | No direct copy. MT5 has its own data folder with a different structure (MQL5 instead of MQL4). |
| Chart templates (.tpl) | templates folder | Not reliably. Colours and layout are easiest to recreate in MT5 and save as a new template. |
| Profiles (chart sets) | profiles folder | No. Open the charts again in MT5 and save a new profile. |
| Custom indicators (.mq4/.ex4) | MQL4/Indicators | No. MQL4 programs must be rewritten in MQL5 or replaced by an MT5 version. |
| Expert Advisors and scripts | MQL4/Experts, MQL4/Scripts | No. They must be rewritten in MQL5 and retested, ideally on the MT5 tester. |
| Login and server | Terminal | No. MT5 uses new account numbers and a new server name from the broker. |
A practical tip for traders: before MT4 closes, open the data folder and back up the templates, profiles and MQL4 folders, take screenshots of important charts, and export the account history statement. That makes rebuilding in MT5 faster. MetaQuotes publishes a guide to the differences between the two languages for developers: Migrating from MQL4 to MQL5.
As a broker, putting this table on your client help page saves your support team many repeated tickets in the last weeks before MT4 shuts down.
Before go-live
Migration readiness checklist
We go through a list like this with your team before the first client wave.
Need the server side first?
If MT5 is not installed yet, see MT5 server setup and plugin management. Liquidity changes are covered under liquidity bridge integration.
- Account mode chosen per group and documented (hedging or netting)
- Every MT4 group mapped to an MT5 group and reviewed by risk and dealing
- Symbols, sessions, swaps, margin and spreads checked against live MT4 values
- Liquidity bridge, feeds and routing rules tested on MT5 with real prices
- Plugins replaced or retired, with owners for each replacement
- CRM, back office and reports reconnected and reconciled
- Manager roles, permissions and access points configured
- Backups, monitoring and alerting active on all MT5 servers
- Policy decided for open positions, balances and history
- Client notices, help page and support scripts ready
- Rollback plan agreed if a wave has to be paused
Our role
How we support a migration
We work as your MetaTrader administration team for the project. We are an independent provider and not affiliated with MetaQuotes.
Assessment and second opinion
Review of your MT4 setup, vendor stack and plan, with a written list of risks and decisions before anything is built.
MT5 build and configuration
Server topology, groups, symbols, managers, plugins and integrations configured to mirror your MT4 conditions. We have deployed 500+ servers for clients in 50+ countries.
Parallel run and waves
Testing, reconciliation and support during each client wave, with 24/7 support available while clients move.
Data centre moves
Moving MT4 or MT5 servers between data centres or providers, with an agreed cut-over window. We design for a 99.9% uptime target.
MT4 to MT5 migration FAQ
How long does an MT4 to MT5 migration take?
For many brokers the full project runs from a few weeks to a few months. The server build is rarely the bottleneck; plugin replacements, vendor readiness and client notice periods usually set the pace. We give a realistic schedule after the assessment rather than a fixed promise up front.
Can clients keep trading during the migration?
Yes. With a parallel run, clients keep trading on MT4 until their wave moves to MT5. The only firm stop is the final MT4 shutdown date, which should be communicated well in advance.
Should I use hedging or netting accounts on MT5?
For retail forex and CFD clients coming from MT4, hedging is usually the safer choice because it behaves like MT4. Netting suits exchange instruments and clients who want one net position per symbol. You can run both modes in different groups.
Can I migrate only some clients to MT5?
Yes. Many brokers move new clients and selected groups first and keep MT4 for the rest for a limited period. It works, but running two platforms has a real operational cost, so it is best treated as a transition with an end date.
Do MT4 plugins work on MT5?
No. MT4 and MT5 server plugins are built against different APIs. You need MT5 versions from the vendor, alternative products, or MT5 built-in features. See our guide to MT5 server plugins.
Do Expert Advisors and indicators carry over?
Not directly. MQL4 programs must be rewritten in MQL5 or replaced with an MT5 version from the developer. Traders should test EAs on MT5 demo accounts before the MT4 closing date.
Are open positions transferred automatically?
No. There is no native automatic transfer between MT4 and MT5 servers. Brokers either set a deadline for clients to close positions or recreate positions on MT5 under a documented policy.
Is MT4 trading history preserved?
MT4 history stays in the MT4 database and should be archived, not deleted. It usually does not appear as native MT5 history; brokers provide it through statements or their client portal.
Can we roll back if something goes wrong?
During the parallel run, yes: MT4 is still live, so a client wave can be paused and clients stay on MT4. That is one of the main reasons not to shut MT4 down on the same day MT5 goes live.
Is MT4 being shut down by MetaQuotes?
MetaQuotes stopped issuing new MT4 licences in 2018, and some brokers have set their own MT4 end dates, such as OANDA Japan’s announced service end on 27 November 2026. Existing MT4 servers still operate, but each broker decides its own timeline.
Can you also move our servers to a new data centre?
Yes. Server and data centre moves are often combined with a migration. See our guide on choosing a data centre for MT5, or contact us to discuss your setup.
Sources
- MetaQuotes, MT5 vs MT4 comparison: metatrader5.com/en/trading-platform/comparison-mt5-mt4
- MetaQuotes, broker comparison of MT5 and MT4: metatrader5.com/en/brokers/comparison-mt5-mt4
- MetaQuotes, performing deals and order types: metatrader5.com/en/terminal/help/trading/performing_deals
- MQL5, hedging in MetaTrader 5: mql5.com/en/articles/2299
- MQL5, migrating from MQL4 to MQL5: mql5.com/en/articles/81
- OANDA Japan, MT4 service end notice (18 September 2026): oanda.jp/info/1445
- Finance Magnates, MetaQuotes to stop issuing new MT4 licences (12 January 2018): financemagnates.com
MetaTrader, MetaTrader 4 and MetaTrader 5 are trademarks of MetaQuotes Ltd. MetaTrader Admin is an independent service provider and is not affiliated with MetaQuotes.
Ready to strengthen your MetaTrader infrastructure?
Schedule a free consultation with our team. We will review your MT4/MT5 set-up and tell you exactly what we would improve.