Platforms

MT4 vs MT5: the differences that matter for traders and brokers

MetaTrader 5 is the newer, multi-asset platform: more timeframes, indicators and order types, a multi-threaded strategy tester, both hedging and netting, and a distributed server architecture. MetaTrader 4 is a forex-focused platform that MetaQuotes stopped licensing to new clients in 2018, and brokers are now closing MT4 services. For a new broker the answer is MT5; for an existing MT4 broker the question is when and how to migrate.

  • Trader-side and broker/server-side comparison tables
  • Hedging vs netting, execution modes and fill policies explained
  • MQL4 vs MQL5 compatibility in plain terms
  • Dated MT4 end-of-life timeline up to 2026
In short

MT4 focuses on forex and CFDs with MQL4 and 9 timeframes; MT5 is multi-asset with MQL5, 21 timeframes, hedging and netting modes and exchange integration. MetaQuotes now licenses MT5 only.

MT4 vs MT5 in short

MetaTrader 4 (MT4) and MetaTrader 5 (MT5) are both trading platforms developed by MetaQuotes. They look similar on screen, but they are separate products: different terminals, different server software, different programming languages (MQL4 and MQL5) and different account models. An MT4 account cannot be opened in the MT5 terminal, and an MT4 Expert Advisor will not run on MT5 without being rewritten.

The short version of the difference:

  • Scope. MT4 was built for forex and CFDs. MT5 is multi-asset: forex, futures, options, stocks and bonds, including exchange-traded instruments.
  • Analysis. MT5 has 21 timeframes vs 9, 38 built-in indicators vs 30, and 44 graphical objects vs 31, plus Depth of Market, Time & Sales and an economic calendar.
  • Orders. MT5 has 6 pending order types vs 4 (it adds Buy Stop Limit and Sell Stop Limit), 4 execution modes vs 3, and three fill policies instead of one.
  • Accounting. MT4 only supports hedging. MT5 supports both netting and hedging.
  • Testing. The MT5 strategy tester is multi-threaded, multi-currency and can test on real ticks; the MT4 tester is single-threaded.
  • Server side. MT5 uses a distributed architecture with far higher limits on symbols, groups and orders, built-in order routing and a broader set of APIs.
  • Status. MT4 is a legacy product. New MT4 licences stopped in 2018 and, in 2026, brokers in Japan are closing MT4 services. MT5 is the platform MetaQuotes actively licenses.

The rest of this page goes through each point in detail, first from the trader’s side and then from the broker and server side, where the differences are much larger than most comparison articles show.

Trader side

MT4 vs MT5 specification table

Figures from the official MetaQuotes comparison of the two platforms.

FeatureMetaTrader 4MetaTrader 5
MarketsForex (and CFDs)Forex, futures, options, stocks, bonds
Timeframes921
Built-in technical indicators3038
Graphical objects3144
Pending order types46 (adds Buy/Sell Stop Limit)
Execution modes34 (Instant, Request, Market, Exchange)
Fill policiesFill or Kill onlyFill or Kill, Immediate or Cancel, Return
Position accountingHedgingNetting and hedging
Depth of Market and Time & SalesNoYes
Built-in economic calendarNoYes
Strategy testerSingle-threadedMulti-threaded, multi-currency, real ticks
64-bit platformNoYes
Programming languageMQL4MQL5 (object-oriented)

Source: MetaQuotes, “MetaTrader 5 vs MetaTrader 4” comparison pages. Exact features available to a trader also depend on how the broker configures the server.

Charts, timeframes and analysis tools

For most traders the first visible difference is the chart. MT4 offers nine timeframes: M1, M5, M15, M30, H1, H4, D1, W1 and MN. MT5 keeps all of these and adds intermediate ones, such as M2, M3, M4, M6, M10, M12, M20, H2, H3, H6, H8 and H12, for 21 in total. If you trade on a two-hour or eight-hour chart, MT5 draws it natively rather than through a custom indicator or offline chart.

MT5 also ships with more built-in indicators (38 vs 30) and more graphical objects (44 vs 31). In practice, many MT4 users rely on custom indicators downloaded or purchased separately, so the built-in count matters less than whether the specific indicators you use exist in MQL5 versions.

Three analysis tools exist only in MT5:

  • Depth of Market (DOM). Shows the order book where the broker provides market depth, which is particularly relevant for exchange instruments.
  • Time & Sales. A tape of executed trades for instruments where the broker streams that data.
  • Economic calendar. Built into the terminal, so news events can be seen on the chart without a third-party site.

Chart appearance, templates and profiles look very similar in both terminals, so moving from MT4 to MT5 is mostly a matter of rebuilding templates and finding MQL5 versions of the indicators you rely on.

Hedging vs netting: the accounting difference

Position accounting is the difference that confuses traders most, and it matters even more to brokers because it is configured on the server.

Hedging means an account can hold multiple open positions on the same symbol, including positions in opposite directions. Buy 1 lot of EURUSD, then sell 1 lot, and you have two separate open positions. This is how MT4 has always worked, and it is what most retail forex traders expect.

Netting means only one position per symbol can exist on the account. A new buy adds to an existing long position; a sell reduces or closes it, or reverses it if the sell is larger. This is the model used on exchanges and is common for futures and stock trading.

MT5 originally launched with netting only, which is one reason many forex brokers and traders stayed on MT4 for years. MetaQuotes added hedging to MT5 in March 2016, so today an MT5 broker chooses the accounting mode for each account group. A broker can run hedging groups for retail forex clients and netting groups for exchange instruments on the same platform.

HedgingNetting
Positions per symbolMany, including opposite directionsOne
Opposite orderOpens a new positionReduces, closes or reverses the position
Typical useRetail forex and CFDsExchange markets, futures, stocks
Available in MT4YesNo
Available in MT5Yes (since 2016)Yes

When a broker migrates from MT4, the MT5 groups for existing forex clients are normally set to hedging so that trading behavior does not change for them. Expert Advisors that assume hedging must also be checked if they will run on netting accounts.

Orders

Execution modes, order types and fill policies

MT5 offers more ways to execute and fill orders. Which ones a client sees depends on how the broker configures each symbol.

Instant and Request execution

The trader sees a price and the order is executed at that price or requoted (Instant), or the trader requests a quote first (Request). Both exist in MT4 and MT5.

Market execution

The order is filled at the price the broker or liquidity provider delivers, with no requote. Common for STP and ECN-style forex setups. Available in both platforms.

Exchange execution

MT5 only. Orders are routed to an external exchange or trading system. This is what makes MT5 usable for exchange-traded instruments.

Six pending order types

Buy Limit, Sell Limit, Buy Stop and Sell Stop exist in both. MT5 adds Buy Stop Limit and Sell Stop Limit, which place a limit order once a stop price is reached.

Fill policies

MT4 supports Fill or Kill only. MT5 adds Immediate or Cancel (fill what is available, cancel the rest) and Return (keep the unfilled part as an order), important for partial fills from liquidity.

Built-in order routing

MT5 can route orders by rules on the server, for example by group, symbol or volume. On MT4 the same logic usually needs plugins or a bridge.

Broker side

Server-side differences for brokers

This is where MT4 and MT5 differ the most, and what most trader-oriented comparisons leave out.

Server featureMT4 serverMT5 server
ArchitectureSingle serverDistributed: different functions on different servers
SymbolsUp to 1,024Unlimited
Account groupsUp to 512Unlimited
Security groupsUp to 32Unlimited
Orders databaseUp to 10 millionUnlimited
Built-in order routingNoYes
Exchange connectivityNoYes, via gateways
Manager APIC++C++, ASP.NET, PHP
Other APIsServer (plugin) API, data feedsServer API, Gateway API, Web API, Report API
SQL exportLimited, MySQLNative MySQL, MS SQL, Oracle
Manager rolesBasic manager permissionsRole-based: administrators, dealers, risk managers

Source: MetaQuotes broker comparison and MetaTrader 5 broker pages. Limits apply to the server software; real capacity also depends on hardware and configuration.

Why the distributed architecture matters

An MT4 server is essentially one trade server that does everything: holds accounts, processes orders, stores history and accepts client connections (data centers can add data servers in front of it). If that machine has a problem, the whole platform is affected, and capacity is bounded by what one server can handle.

MetaQuotes describes MT5 as a distributed architecture, where different functions are performed on different servers. A typical MT5 setup has a trade server, a history server, and multiple access servers placed close to clients. Trade servers can be hidden behind access points, so clients never connect directly to the core. MetaQuotes also states that the system databases are encrypted and provided with backup and recovery options.

For a broker this means:

  • Scaling by adding access servers in new regions rather than replacing hardware.
  • Resilience, because an access point can fail without taking down trading.
  • Security, because the trade server is not exposed to the internet; see our MT5 server security service.
  • Room to grow: no ceilings on symbols, groups or orders that MT4 brokers run into.

The trade-off is that MT5 has more components to install, connect and monitor. Our guide to MT5 server architecture for brokers explains each role and how they fit together.

MQL4 vs MQL5: are MT4 robots and indicators compatible with MT5?

No, not directly. MT4 Expert Advisors, indicators and scripts (.ex4 and .mq4 files) do not run in MT5. MT5 uses MQL5 and only runs .ex5 files compiled from MQL5 source.

MQL5 is object-oriented and closer to C++. The biggest practical differences for developers are:

  • Trading functions. MQL4 uses one order model (OrderSend, OrderSelect and related functions). MQL5 separates orders, deals and positions, and trade requests are sent as structures.
  • Indicators. In MQL5, indicator functions return a handle, and values are copied into arrays, rather than being returned directly as in MQL4.
  • Accounting mode. MQL5 code must handle both netting and hedging accounts if it will run on both.
  • Testing. MQL5 programs can use the multi-threaded, multi-currency tester with real ticks.

Later MT4 builds adopted much of MQL5’s syntax, so well-structured MQL4 source code is often easier to port than old code. MetaQuotes publishes a migration guide from MQL4 to MQL5 (linked in the sources below). Without the source code, however, a compiled .ex4 file cannot be converted; you need the developer or an MQL5 version from the vendor.

On the broker side the same applies to server plugins: MT4 plugins are built on the MT4 Server API and must be replaced with MT5 equivalents or rewritten. Our plugin management service covers selecting, installing and maintaining them.

MT4 end of life

Is MT4 ending? A dated timeline

MT4 has not been switched off globally, but it has been winding down for years. These are the documented milestones.

MT5 adds hedging

In March 2016 MetaQuotes added the hedging accounting mode to MT5, removing one of the main reasons forex brokers stayed on MT4.

2016

No new MT4 licences

In January 2018 MetaQuotes announced it would stop issuing new MT4 licences to new clients, as reported by Finance Magnates. Existing licence holders could continue.

2018

MT4 white labels discontinued

Industry sources report that MT4 white labels were discontinued in 2022, closing the remaining route for new brokers to launch on MT4.

2022

FOREX.com Japan stops new MT4 accounts

FOREX.com Japan ended new MT4 account openings on 20 June 2026, according to a notice on its Japanese site.

Jun 2026

OANDA Japan stops new MT4 applications

OANDA Japan announced that new MT4 applications stop at market close on 25 September 2026, citing stricter cybersecurity requirements, and recommends MT5.

Sep 2026

OANDA Japan MT4 service ends

OANDA Japan’s MT4 service ends at market close on 27 November 2026; after that, logging in to MT4 is no longer possible.

Nov 2026

What this means: MT4 terminals and servers still run at many brokers, but MT4 is a legacy product. Brokers are closing MT4 services broker by broker, not on a single global date. If you trade on MT4, check your broker’s notices; if you run an MT4 server, plan the move now rather than under a deadline. Our MT4 to MT5 migration service handles the transition.

Which should you choose: MT4 or MT5?

For traders

If your broker offers both and you are starting fresh, choose MT5. It has more timeframes and tools, a better tester, access to more markets, and it is the platform brokers will keep supporting. MT4 still makes sense only if you depend on a specific MT4 Expert Advisor or indicator that has no MQL5 version, and even then it is worth asking the developer for one, because your broker may close MT4 in the future.

If you only trade forex manually, the day-to-day difference is small: charts, one-click trading and order windows work in a very similar way. Moving is mostly about rebuilding templates and finding MQL5 versions of your tools.

For brokers

For a new brokerage the choice is made for you: MetaQuotes does not license MT4 to new clients, so you build on MT5, either with your own server licence or a white label. See our MT5 server setup service.

For an established MT4 broker the question is timing. Many brokers run MT4 and MT5 in parallel for a period: new clients go to MT5, existing clients are invited to move, and MT4 is closed once activity drops. Points to plan for:

  • Mapping MT4 groups, symbols and commissions to MT5, and choosing hedging or netting per group.
  • Replacing MT4 plugins and reconnecting the liquidity bridge on MT5.
  • Moving client accounts, balances and trading history, and communicating with clients and their EA developers.
  • Reviewing risk management and routing rules, since MT5 can handle some of this natively.

Our step-by-step MT4 to MT5 migration guide covers the full process.

For brokers

MT5 readiness checklist

Questions to answer before you launch on MT5 or move off MT4.

Need a hand?

We have deployed 500+ servers for brokers in 50+ countries, with 24/7 support and a 99.9% uptime target. Contact us to talk through your setup.

  • Licence or white label route confirmed with MetaQuotes or your provider
  • Server roles and locations decided: trade, history and access servers
  • Account groups designed, with hedging or netting set per group
  • Symbols, sessions, swaps and execution modes configured per market
  • Fill policies aligned with what your liquidity providers support
  • Bridge or gateway to liquidity tested, including partial fills
  • Server plugins sourced in MT5 versions and tested
  • Manager roles and permissions set for dealers, risk and support staff
  • Backups, monitoring and security hardening in place before go-live
  • Client migration plan and communication for existing MT4 accounts

MT4 vs MT5: frequently asked questions

What is the main difference between MT4 and MT5?

MT4 is a forex-focused platform with hedging only, 9 timeframes and the MQL4 language. MT5 is multi-asset, supports both hedging and netting, has 21 timeframes, more order types and a multi-threaded tester, and uses MQL5. On the server side, MT5 has a distributed architecture with much higher limits.

Are MT4 and MT5 compatible?

No. They are separate platforms. An MT4 account cannot log in to the MT5 terminal, and MT4 Expert Advisors and indicators do not run in MT5. You need an MT5 account from your broker and MQL5 versions of your programs.

Can I convert my MT4 EA to MT5?

Yes, if you have the MQL4 source code; it must be rewritten or ported to MQL5, mainly because trading and indicator functions work differently. A compiled .ex4 file alone cannot be converted, so ask the developer or vendor for an MQL5 version.

Are MT4 and MT5 free?

For traders, both terminals are free to download and use with a broker account or a demo account. Brokers are the ones who license the server software from MetaQuotes or use a white label from a licence holder.

Are the charts different in MT5?

They look and work very much alike, but MT5 has 21 timeframes instead of 9, more built-in indicators and objects, and adds Depth of Market, Time & Sales and an economic calendar. Templates and custom indicators have to be set up again in MT5.

Which is better, MT4 or MT5?

For most traders and all new brokers, MT5: it has more features, more markets and continued support. MT4 remains useful only where a trader depends on MT4-only tools or a broker still runs an existing MT4 base.

Is MT4 ending?

There is no single global shutdown date, but MT4 is being phased out. MetaQuotes stopped new MT4 licences in 2018, and in 2026 brokers such as OANDA Japan (service end 27 November 2026) and FOREX.com Japan (no new MT4 accounts since 20 June 2026) are closing MT4 offerings.

Does MT5 allow hedging?

Yes. MT5 has supported hedging since March 2016 alongside netting. The broker sets the accounting mode per account group, so check which mode your account uses.

Can a broker run MT4 and MT5 at the same time?

Yes, an existing MT4 licence holder can run both platforms in parallel during a migration. They are separate servers with separate accounts, groups, plugins and bridge connections, so each must be configured and monitored on its own.

Can a new broker still get MT4?

Not as a new MetaQuotes client: new MT4 licences stopped in 2018 and, according to industry sources, MT4 white labels were discontinued in 2022. New brokers launch on MT5.

Is MT5 harder to manage than MT4 for a broker?

It has more components, such as access, history and trade servers, more configuration options and more APIs. That gives more flexibility and resilience but needs careful setup and monitoring, which is what our administration services cover.

Sources

Specifications and dates on this page come from the following primary and industry sources. We are an independent administration company and are 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.