MetaTrader 4 (MT4) and MetaTrader 5 (MT5) are the two most widely used retail trading platforms for forex and CFDs, both made by the software company MetaQuotes. MT4 came out in 2005 and is built around forex; MT5 followed in 2010 with more timeframes, more order types and support for other markets. Both are free to use through your broker. This guide compares them point by point and helps you decide which one to download.
Key takeaways: MT5 has 21 chart timeframes against 9 in MT4, six pending order types against four, a built-in economic calendar and depth of market, and a faster multi-currency strategy tester. MT4 still has the largest library of ready-made expert advisors and indicators, but they do not run on MT5 without being rewritten. If you are starting from scratch, MT5 is usually the better default; if you already rely on MT4 tools, there is no rush to switch.
Whichever platform you pick, size your trades before you place them: the calculator turns your stop loss and risk into a lot size.
Open the position size calculatorMT4 vs MT5 at a glance
| Feature | MT4 | MT5 |
|---|---|---|
| Released | 2005 | 2010 |
| Chart timeframes | 9 (M1 to MN) | 21 (adds M2, M3, H2, H6, H12 and others) |
| Pending order types | 4: Buy/Sell Limit, Buy/Sell Stop | 6: adds Buy Stop Limit and Sell Stop Limit |
| Position accounting | Hedging | Hedging or netting, set by the broker per account |
| Depth of market | No | Yes |
| Economic calendar | No (third-party add-ons) | Built in |
| Strategy tester | Single-threaded, one symbol | Multi-threaded, multi-currency |
| Programming language | MQL4 | MQL5 |
| Typical markets at brokers | Forex, metals, indices, energy | The same, plus stocks and ETFs at many brokers |
Both platforms come with a full set of built-in technical indicators and drawing tools, and MT5 ships with more of them. Both also accept thousands of extra custom indicators, so what matters most is the language those are written in: MQL4 or MQL5.
Charts and analysis
MT4’s nine timeframes (1, 5, 15 and 30 minutes, 1 and 4 hours, daily, weekly and monthly) cover most strategies. MT5’s 21 add in-between steps such as 2 or 3 minutes and 2, 6 or 12 hours, which suit traders who fine-tune their entries. MT5 also has a built-in economic calendar, so you can see interest rate decisions and data releases without leaving the platform.
Orders and execution
Both platforms offer market orders, the four classic pending orders, stop loss, take profit and trailing stops. MT5 adds Buy Stop Limit and Sell Stop Limit: when the price reaches your stop level, a limit order is placed rather than a market order, giving more control over the entry price. MT5 also shows depth of market, the queue of prices and volumes, when the broker provides it.
Hedging and netting
MT4 normally uses hedging: you can hold a buy and a sell on the same pair at the same time. MT5 supports hedging and netting. In a netting account, a new trade on the same symbol is combined with your existing position, as on a stock exchange. Many forex brokers set up their MT5 accounts with hedging, so it feels the same as MT4. Check the account type if this matters to your strategy.
Expert advisors and automated trading
Expert advisors (EAs) are programs that trade for you. MT4 EAs are written in MQL4 and MT5 EAs in MQL5. The two are not compatible: an MT4 robot or custom indicator will not run on MT5 unless it is rewritten. MT4 has the bigger back catalogue, built up since 2005. MT5’s strategy tester can use several processor cores and test strategies across several currency pairs at once, which makes backtesting much faster.
Markets: which one can trade what?
What you can trade depends on your broker more than on the platform, but brokers often put extra markets on MT5 only. At Infinox, for example, stocks and ETFs are available on MT5 only, while forex, gold, indices, energy and crypto are on both. PU Prime also offers both platforms. Check the instrument list for the platform you plan to use before you open an account. For a shortlist, see our best MT5 brokers.
Which should you choose?
Choose MT5 if you…
- are new and have no existing tools to carry over;
- want to trade stocks or ETFs alongside forex at the same broker;
- like more timeframes, a built-in calendar or depth of market;
- backtest strategies and want faster, multi-currency testing.
Choose MT4 if you…
- already use MT4 expert advisors or custom indicators you rely on;
- trade mainly forex and gold and like a simple, familiar layout;
- follow courses or signal services built around MT4.
You do not have to commit forever. Many brokers let you open a free demo on each platform and add a second live account later. Your risk rules stay the same whichever you choose: position size, stop loss and margin work identically on both. Our guides to lots, pips and margin and risk per trade apply to either.
Frequently asked questions
Is MT5 better than MT4?
MT5 has more features: more timeframes and order types, a built-in economic calendar, depth of market and a faster strategy tester. MT4 is simpler and has a larger library of ready-made expert advisors. For most new traders MT5 is the better default.
Can I use MT4 expert advisors on MT5?
Not directly. MT4 uses MQL4 and MT5 uses MQL5, and the two are not compatible. An MT4 robot or indicator has to be rewritten, or you need an MT5 version from its developer.
Does MT5 allow hedging?
Yes. MT5 supports both hedging and netting accounts, and many forex brokers offer MT5 with hedging, so you can hold opposite positions on the same pair, as on MT4.
Can I switch from MT4 to MT5 later?
Yes. Many brokers let you open an additional account on the other platform from your client area. Your trading history does not move across, and you may need new versions of any custom tools.
Ready to pick a platform? Our comparison puts spreads, leverage, platforms and minimum deposits side by side, so you can see which broker fits the way you trade.
Compare forex brokersCalculators and reviews
ToolPosition size calculatorThe lot size for your stop loss and risk.
ToolPip value calculatorWhat each pip is worth for any lot size and pair.
ReviewInfinox reviewMT4 and MT5, with stocks and ETFs on MT5.
ReviewPU Prime reviewMetaTrader 4 and 5 across four account types.For information only: this guide compares trading platforms and is not financial advice. Platform features and instruments vary by broker; check the broker’s site.
CFDs and leveraged forex are complex products and can lose value quickly. Only trade with money you can afford to lose.