Updated 22 October 2026By the FXSUPPORT engineering team
MT4 to MT5 migration for brokers means rebuilding your MT4 groups, symbols, plugins and bridge on MetaTrader 5. Accounts, balances and open positions then move across during a weekend cutover with a tested rollback. Most forex books move to MT5 hedging accounts so trading behaves as it did on MT4. Moving an MT5 server between hosts follows a similar rehearse, cut over and verify pattern.
Why are brokers doing MT4 to MT5 migration now?
Brokers are doing MT4 to MT5 migration because MetaQuotes no longer sells MT4 licences and puts its development into MT5. A brokerage on MT4 can keep its existing server, but it cannot add new MT4 licences and every new product ends up on MetaTrader 5 anyway.
Some brokers are now setting fixed end dates. OANDA Japan stopped new MT4 orders after the close on 25 September 2026 and ends its MT4 service after the close on 27 November 2026, citing stricter cybersecurity standards. A migration you plan on your own timetable costs far less than one forced by a partner, a regulator or a security review.
There is a technical case as well. MT5 removes several hard limits of an MT4 server and adds a distributed architecture. The comparison below uses MetaQuotes’ own figures.
“The MetaTrader 4 trading platform licenses are no longer available for purchase.”
MetaQuotes, MetaTrader 4 for brokers
MT4 vs MT5 for brokers: what is actually different?
For brokers, the differences that matter sit mostly on the server. MT5 has no fixed ceiling on symbols, account groups or the orders database, and it adds netting next to hedging. It also offers more balance operation types and Manager API options, which changes how your CRM and back office connect.
The client-facing figures matter too, because they shape what your sales team can offer. MT5 has more timeframes, indicators, analytical objects and pending order types. The figures come from MetaQuotes’ comparison page for brokers.
| Feature | MetaTrader 5 | MetaTrader 4 |
|---|---|---|
| Server architecture | Distributed | Single |
| Symbols | Unlimited | 1,024 |
| Account groups | Unlimited | 512 |
| Security groups | Unlimited | 32 |
| Orders database size | Unlimited | Up to 10M orders |
| Position accounting | Netting and hedging | Hedging only |
| Execution modes | 4 | 3 |
| Order fill policies | Fill or Kill, Immediate or Cancel, Return | Fill or Kill |
| Balance operation types | Eight: Balance, Credit, Correction, Charge. Plus Bonus, Commission, Agent, Interest | Balance, Credit |
| Manager API languages | C++, ASP.Net, PHP | C++ |
| SQL export | Native (MySQL, MSSQL, Oracle) | Limited (MySQL) |
| Timeframes | 21 | 9 |
| Technical indicators | 38 | 30 |
| Analytical objects | 44 | 31 |
| Pending order types | 6 | 4 |
Source: MetaQuotes, Comparison of MetaTrader 5 and MetaTrader 4 for brokers, accessed October 2026.
What migrates from MT4 to MT5, and what has to be rebuilt?
Data moves and code does not. Accounts, balances, open positions and closed history can be moved with migration tooling. Server plugins, Manager API applications and client Expert Advisors have to be rewritten. Configuration sits in between: you recreate it on MT5 and check it line by line against MT4.
The last row of the table needs a plain sentence in your client notices. MQL4 programs do not run on MT5, so clients or their EA vendors must supply MQL5 versions. Do not promise compatibility you cannot deliver.
| MT4 item | How it reaches MT5 | Check before go-live |
|---|---|---|
| Client accounts | Exported and imported with a migration script or tool | Login numbering, group mapping, leverage |
| Balances and credit | Imported as balance and credit operations | Totals match to the cent per account and group |
| Open positions and orders | Re-created at the cutover snapshot | Price and volume, SL and TP, swaps and margin |
| Closed history | Imported as deals or kept in a read-only MT4 archive | What clients see and what you keep for audits |
| Groups and symbols | Rebuilt on MT5 | Contract size and margin, swaps, sessions and commission |
| Server plugins | Rewritten for the MT5 Server API | Same business rules, tested on demo |
| Bridge | Your vendor’s MT5 gateway | Routing, markups, failover |
| CRM, IB and reports | Reconnected through the MT5 Manager or Web API | Deposits, withdrawals, rebates |
| Client EAs | Ported to MQL5 by their owners | Clients told early |
Should migrated accounts use hedging or netting?
Put migrated MT4 forex clients on MT5 hedging accounts unless you have a clear reason not to. MT4 only hedges, so traders and their EAs expect to hold several positions on one symbol, including opposite ones. MT5 lets the broker choose the mode per account.
In netting mode a symbol can only have one position. Import a hedged MT4 book into netting groups and opposite positions merge, margin changes and clients see a different account from the one they left. Netting still makes sense for new futures or stock groups after go-live. Decide the mode per group in the mapping sheet and test margin on imported positions before the cutover. Group set-up is covered in MT5 server configuration.
What are the phases of an MT4 to MT5 migration?
We run every MT4 to MT5 migration in four phases. Each one ends with a gate you sign off, and MT4 keeps trading normally until the last gate is passed. The switch itself is quick. Once the MT4 and MT5 servers are both prepared and tested, moving accounts over takes about an hour. The preparation before that depends on your plugins, bridges, groups and how much notice you give clients.
Plugin rewrites and CRM integration set the pace more often than data volume does. That is why the plugin list is drawn up in the first week.
Assessment and planning
We audit the MT4 servers, groups and symbols, then the plugins, bridge and CRM. You get a plan, a risk list, a group mapping sheet and a plugin rewrite list.
MT5 build
We set up the MT5 servers and network and connect liquidity through your bridge’s MT5 gateway. Then we rebuild groups, symbols, sessions and swaps.
Data rehearsal
We migrate a copy of production data with scripts and compare every account and group. At least one full rehearsal runs before the live weekend.
Go-live and support
We run the cutover, deliver client logins with you and watch the new platform closely through the first trading days.
How do plugins, bridges and the CRM move to MT5?
Everything that talks to the MT4 server through an API must be rebuilt for MT5. Spread, swap, risk and bonus plugins are rewritten for the MT5 Server API with the same business rules. If a plugin came from a vendor, ask whether an MT5 version exists before you build your own. Our MetaTrader plugin development team handles the rewrites.
Your bridge needs an MT5 gateway. Most major bridge vendors offer one, but routing rules, markups and A-book or B-book settings must be rebuilt and compared against MT4 fills. See our MT4/MT5 liquidity bridge page for that side.
The CRM and client portal move to the MT5 Manager or Web API. MT5 has more balance operation types, such as bonus, commission and interest. It is worth remapping flows that used to be squeezed into balance and credit. MAM and PAMM links and allocation history need the MT5 version of the module. End-of-day reports and risk tools must point at the MT5 database before the first trading day.
How should you tell clients about the migration?
Tell clients early and in stages, with exact dates and times. The public notices from brokers that have retired MT4 follow the same pattern: stop new MT4 accounts, stop new MT4 orders, then switch MT4 off. Clients and introducing brokers need months, not days.
- 8 to 12 weeks before: announce the move, the date and the affected account types, with an MT5 demo link
- 6 to 8 weeks before: open all new clients and IB sign-ups on MT5 only
- 4 to 6 weeks before: state plainly that MT4 EAs and indicators do not run on MT5
- 2 to 4 weeks before: list any changes to spreads, commission, swaps or symbol names
- 1 week and 1 day before: confirm the cutover window, the time zone and what happens to open positions
- Go-live: send MT5 logins, the server name and a support contact for the first session
What happens on the cutover weekend, and when do you roll back?
The cutover runs over a weekend so downtime falls inside the market close. On Friday after the close MT4 goes read-only and we take a final snapshot. On Saturday we import into MT5 and reconcile balances, equity and positions per group. Test trades then go through the bridge. Before Sunday’s open there is one go or no-go decision based on written results.
MT4 is not shut down until that decision is made, so a rollback means reopening MT4 rather than rebuilding it. Agree the triggers in advance so nobody has to judge them under pressure on Sunday night. After go-live, keep MT4 read-only for a period agreed with compliance so old statements stay available.
How do you migrate an MT5 server to a new host?
MT5 server migration between hosts follows the same logic as a platform migration: build the new side, rehearse, cut over in a quiet window and keep the old side ready. Brokers move servers to cut latency to their LPs, to leave a hosting provider or to add a second data centre for failover.
Talk to MetaQuotes before anything else. The server licence belongs to your company, so ask through your licence support channel what the move means for your licence key and server addresses. Then build the new hosts with the same OS hardening and firewall rules. Restore a recent backup there to confirm that accounts, history and configuration come up intact.
The client side is usually the access layer. Clients connect to access points, so the move is often a matter of adding new access points near the new trade server and retiring the old ones. MetaQuotes’ hosted access server service, launched in 2022, lets brokers relocate access points and launch new ones from the MT5 Administrator. Server names in your branded apps and WebTrader must point at the new addresses before the old ones go.
Choose hosting with the move in mind. Our MetaTrader server hosting page covers locations such as Equinix LD4 and NY4, and MT5 server architecture explains how a backup server makes a planned move much safer.
Check the licence
Ask MetaQuotes what the move requires for your licence key and addresses.
Build and harden
Prepare the new hosts with the same OS settings, firewall rules and monitoring.
Rehearse a restore
Restore a recent backup on the new host and compare accounts, history and settings.
Prepare access
Add access points near the new server and update the server list in your apps.
Cut over
Freeze changes, take a final backup, start the new server and reconnect gateways and plugins.
Verify and retire
Test logins, quotes and orders through every access point, then decommission the old host.
How does FXSUPPORT run a migration, and what does it cost?
We plan the migration and build the MT5 side. Then we move the data, run the cutover and support the new platform. Your team keeps every business decision and owns the client communication. After go-live the platform moves into our ongoing MT5 support for brokers. If you are not ready to migrate yet, MT4 support for brokers keeps the old server stable in the meantime.
You need MT5 access before you start. That means your own licence through MetaTrader 5 license onboarding, or a white label or grey label with a provider. A new platform also needs MT5 server setup before data can move.
We do not publish prices. To quote we need the number of MT4 servers and accounts, your group and symbol lists and your installed plugins. The bridge, CRM, IB tools and any MAM or PAMM use complete the picture.
Frequently asked questions
How long does an MT4 to MT5 migration take for a broker?
The switch takes about an hour once both servers are prepared and tested. The preparation takes longer and depends on your setup. Plugin rewrites, bridge changes and CRM work usually set the timeline, along with the notice you give clients.
Can open positions be moved from MT4 to MT5?
Yes. Open positions are re-created on MT5 from a snapshot taken after Friday’s close. Each imported position must be checked for price and volume, stop loss and take profit, and margin before the go or no-go call.
Should migrated accounts use hedging or netting on MT5?
Hedging, in most cases. MT4 only hedges, and netting would merge opposite positions on the same symbol into one. You can still use netting groups for exchange-traded products.
Do MT4 server plugins work on MT5?
No. MT5 has its own Server, Manager, Gateway and Report APIs. MT4 plugins must be rewritten or replaced with the vendor’s MT5 version. Keep the business rules the same and test on a demo server first.
Do MT4 Expert Advisors run on MT5?
No. MQL4 programs do not run on MT5. EAs and indicators have to be ported to MQL5 by their owners. Tell clients early so they have time to arrange it.
Can we keep client trading history?
Yes. Closed history can be imported into MT5 as deals, kept in a read-only MT4 archive with statements, or both. Agree with compliance how long the archive stays available.
What happens if the cutover fails?
MT4 stays ready until the go or no-go call before Sunday’s open. If reconciliation or test trades hit an agreed trigger, MT4 trading reopens, clients are told and the cutover moves to a later weekend.
Do we need a new MT5 licence to migrate?
You need MT5 access, either your own licence from MetaQuotes or a white label or grey label with a provider. MetaQuotes sells MT5 in three tiers by real accounts: Entry, Standard and Enterprise.
Can we move our MT5 server to another data centre?
Yes. Build and harden the new host, rehearse a restore and move the access layer, then cut over in a weekend window. Check with MetaQuotes first what the move means for your licence key and server addresses.
Can you migrate my personal MT4 account or EAs?
No. We work only with brokerages and companies. If your broker is retiring MT4, ask them about opening an MT5 account and moving funds. Your EA vendor or developer can port your programs to MQL5.
Sources
- MetaTrader 4 for brokers, MetaQuotes, accessed October 2026
- Comparison of MetaTrader 5 and MetaTrader 4 for brokers, MetaQuotes, accessed October 2026
- Buy the MetaTrader 5 platform (licence tiers), MetaQuotes, accessed October 2026
- MetaTrader 5 Help: position accounting, MetaQuotes, accessed October 2026
- MetaTrader 5 Access Server Hosting, MetaQuotes news, 5 May 2022, accessed October 2026
- Migrating from MQL4 to MQL5, MQL5.com (mql5.com), accessed October 2026
- MT4 sub-account suspension and MT4 service end notice, OANDA Japan, accessed October 2026. FXSUPPORT is not affiliated with MetaQuotes or any vendor or broker named on this page.
FXSUPPORT is not affiliated with MetaQuotes Ltd. or with any vendor or regulator named on this page. This page is general information, not legal or investment advice.