FXSUPPORT

All servicesAboutContact
Migration guide for brokers

MT4 to MT5 migration and moving an MT5 server between hosts

A practical plan for moving a brokerage from MetaTrader 4 to MetaTrader 5 without losing accounts, positions or clients. It also covers the other kind of migration: taking a running MT5 server to a new host.

For brokerages and companies. Replies come from an engineer, not a call centre.

New MT4 licences
No longer sold by MetaQuotes
Usual account mode
MT5 hedging for forex clients
Cutover
One weekend with a go or no-go call
Clients
Brokerages and companies only

Updated 22 October 2026By the FXSUPPORT engineering team

In short

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.

MT4 vs MT5 for brokers
FeatureMetaTrader 5MetaTrader 4
Server architectureDistributedSingle
SymbolsUnlimited1,024
Account groupsUnlimited512
Security groupsUnlimited32
Orders database sizeUnlimitedUp to 10M orders
Position accountingNetting and hedgingHedging only
Execution modes43
Order fill policiesFill or Kill, Immediate or Cancel, ReturnFill or Kill
Balance operation typesEight: Balance, Credit, Correction, Charge. Plus Bonus, Commission, Agent, InterestBalance, Credit
Manager API languagesC++, ASP.Net, PHPC++
SQL exportNative (MySQL, MSSQL, Oracle)Limited (MySQL)
Timeframes219
Technical indicators3830
Analytical objects4431
Pending order types64

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 to MT5 server migration scope
MT4 itemHow it reaches MT5Check before go-live
Client accountsExported and imported with a migration script or toolLogin numbering, group mapping, leverage
Balances and creditImported as balance and credit operationsTotals match to the cent per account and group
Open positions and ordersRe-created at the cutover snapshotPrice and volume, SL and TP, swaps and margin
Closed historyImported as deals or kept in a read-only MT4 archiveWhat clients see and what you keep for audits
Groups and symbolsRebuilt on MT5Contract size and margin, swaps, sessions and commission
Server pluginsRewritten for the MT5 Server APISame business rules, tested on demo
BridgeYour vendor’s MT5 gatewayRouting, markups, failover
CRM, IB and reportsReconnected through the MT5 Manager or Web APIDeposits, withdrawals, rebates
Client EAsPorted to MQL5 by their ownersClients 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Typical rollback triggers: any unexplained difference in balance, credit or open volume. Test orders not reaching liquidity. CRM deposits or IB rebates not working end to end. Margin on imported hedged positions outside an agreed tolerance.

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.

  1. Check the licence

    Ask MetaQuotes what the move requires for your licence key and addresses.

  2. Build and harden

    Prepare the new hosts with the same OS settings, firewall rules and monitoring.

  3. Rehearse a restore

    Restore a recent backup on the new host and compare accounts, history and settings.

  4. Prepare access

    Add access points near the new server and update the server list in your apps.

  5. Cut over

    Freeze changes, take a final backup, start the new server and reconnect gateways and plugins.

  6. 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

  1. MetaTrader 4 for brokers, MetaQuotes, accessed October 2026
  2. Comparison of MetaTrader 5 and MetaTrader 4 for brokers, MetaQuotes, accessed October 2026
  3. Buy the MetaTrader 5 platform (licence tiers), MetaQuotes, accessed October 2026
  4. MetaTrader 5 Help: position accounting, MetaQuotes, accessed October 2026
  5. MetaTrader 5 Access Server Hosting, MetaQuotes news, 5 May 2022, accessed October 2026
  6. Migrating from MQL4 to MQL5, MQL5.com (mql5.com), accessed October 2026
  7. 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.

Talk to FXSUPPORT

Plan your migration with us

We work with brokerages and companies moving from MT4 to MT5 or moving an MT5 server to a new host. Send us your servers and groups, your plugins and your bridge and CRM details. We will come back with phases, risks and a quote.

We work with brokerages, prop firms and companies setting up a brokerage. We do not provide support to individual traders; if you trade with a broker, please contact your broker directly.

TelegramEmail
WhatsApp