Glossary index › M

MetaTrader 4 (MT4)

MetaTrader 4 (MT4) is a trading platform, released by the software company MetaQuotes in 2005, that lets traders view live price charts, place orders, and run automated trading scripts. It became the default platform for retail forex brokers worldwide, and even though MetaQuotes released a newer version, MT5, in 2010, MT4 still runs on millions of trading accounts today because of the huge library of tools built for it and because brokers never had a reason to force existing clients to switch.

The platform's defining feature is MQL4, its own programming language, which lets traders write Expert Advisors (EAs) - scripts that watch the market and place trades automatically without a human clicking a mouse - along with custom indicators and one-click "scripts" for repetitive tasks. A trader can build a simple EA that buys when a moving average crosses upward and closes the position after a fixed number of pips, then let it run unattended, which is why MT4 became the backbone of the retail algorithmic trading community long before that idea was mainstream.

In practical terms, a trader opens the "New Order" window in MT4, types a lot size (say, 0.10, a mini lot), and the platform calculates the position automatically. On EUR/USD trading at 1.1000 with 1:100 leverage, a 1.00 standard lot order (100,000 units) has a notional value of $110,000 and ties up roughly $1,100 of margin - the platform does that math instantly so the trader can see the cost before confirming.

MT4 is deliberately narrower than MT5: it ships with nine chart timeframes instead of MT5's twenty-one, offers fewer built-in order types, has no native economic calendar or market depth window, and its strategy tester historically ran single-threaded, making it slower to backtest large data sets. MT5 was also built to handle exchange-traded instruments like stocks and futures more naturally, with both netting and hedging accounting modes, while MT4 was designed around forex and CFD trading with a simpler hedging-by-default order model. None of that has stopped MT4 from remaining the more widely offered platform among forex-focused brokers - its enormous archive of free and paid EAs and indicators, built up over nearly two decades, is a switching cost that MT5's extra features have not managed to fully overcome.

Because MT4 was built around currency pairs and CFDs rather than exchange order books, it is used almost entirely for forex and CFD-style trading on stocks, indices, and commodities offered by a broker's dealing desk, rather than for direct crypto exchange trading or true stock exchange execution - those markets are more commonly accessed through MT5 or dedicated exchange platforms instead.

Anyone choosing this platform today should understand its position in the vendor's plans. MetaQuotes stopped issuing new MT4 licences to brokers years ago and has kept the software on maintenance builds while directing development to the successor, which means a brokerage launching now generally cannot offer it at all. The platform is stable and mature; it is not gaining capability, and the population of firms supporting it can only shrink.

That matters most for anyone with substantial work invested in automated strategies. Code written in the older language does not run on MetaTrader 5 and must be rewritten rather than imported, so a library of advisers and indicators built up over years represents a future translation cost as well as a present asset. The calculation is not obvious in either direction: a trader whose broker offers MT4 and whose strategies work has no urgent reason to move, while one building something new from scratch is choosing between a familiar environment with a finite horizon and a supported one that requires learning a different language. What is worth avoiding is arriving at the decision by accident, several years into a codebase, at the point a broker announces it is retiring the platform.

What is MT4? A trading platform released by MetaQuotes in 2005 for viewing charts, placing orders and running automated scripts. It became the default platform for retail currency brokers worldwide.
Why is it still around? Because of everything written for it across two decades, and because no broker had a reason to push existing clients onto the newer version. It still runs on millions of accounts.
What is MQL4? The platform's own programming language, used to write Expert Advisors that watch the market and trade automatically, along with custom indicators and one-click scripts for repetitive tasks.
What can you build with it? A trader can code an adviser that buys when a moving average crosses upward and closes after a fixed number of pips, then leave it running. That capability made MT4 the backbone of retail algorithmic trading long before the idea was mainstream.
What does placing a trade look like? You open the New Order window and type a lot size, say 0.10 for a mini lot, and the platform sizes the position. On EUR/USD at 1.1000, a full standard lot of 100,000 units is 110,000 dollars notional and ties up roughly 1,100 dollars of margin at 1 to 100 leverage.
How is it narrower than MT5? Nine chart timeframes against MT5's twenty-one, fewer built-in order types, no native economic calendar or market depth window, and a strategy tester that historically ran on a single thread, making large backtests slow.
What was MT5 built for that MT4 was not? Exchange-traded instruments such as shares and futures, with both netting and hedging account modes. MT4 was designed around currency and CFD trading with hedging by default.
What is it used for in practice? Currency trading and CFD-style trading on shares, indices and commodities offered by a broker's dealing desk, rather than direct crypto exchange trading or genuine stock exchange execution.
Is the platform still being developed? Effectively no, and anyone choosing it should know that. MetaQuotes stopped issuing new licences to brokers years ago and has kept MT4 on maintenance builds while putting its development into MT5. The platform still works, and existing brokers still offer it, but new features arrive on the other one; a broker launching today generally cannot offer MT4 at all. That makes MT4 a stable, mature choice rather than a future-proof one, and a trader who has invested heavily in advisers written in MQL4 is holding code that will eventually have to be rewritten, since it does not run on MT5 without translation into the newer language.

By InsiderTicker Editorial Team · Last updated

All news on Forex →