Northmark

Compare top forex brokers

MetaTrader 4

MetaTrader 4 (MT4) is a electronic trading platform developed by MetaQuotes Software in 2005, designed to allow retail traders to access financial markets — primarily forex, CFDs, and futures — through a broker-provided connection, complete with charting tools, order management, and automated strategy execution.


Quick Definition

MetaTrader 4 is the industry-standard desktop and mobile trading platform launched in 2005. It supports manual and fully automated trading via its proprietary scripting language, MQL4. Offered by hundreds of brokers worldwide, MT4 remains the most downloaded retail trading platform in history despite the existence of newer alternatives.


Detailed Explanation

Origins and Architecture

MetaQuotes Software released MetaTrader 4 in July 2005 as a successor to MetaTrader 3. The platform follows a client–server architecture: the broker operates a server-side component (the dealer server), while the trader installs the MT4 client terminal on their device. The client and server communicate via a proprietary encrypted protocol, transmitting price quotes, order instructions, and account data in near real time. This design means the platform itself is free to download; brokers license the server infrastructure from MetaQuotes and pass that cost into their business model rather than charging end users directly.

Core Functional Components

MT4 is built around four interconnected modules. First, the Market Watch window streams live bid/ask prices for every instrument the broker offers — for example, EUR/USD might display Bid: 1.08452 / Ask: 1.08455, reflecting a 0.3-pip spread. Second, the charting engine supports nine timeframes (M1 through MN), 30 built-in technical indicators such as MACD, Bollinger Bands, and RSI, and three chart types (line, bar, candlestick). Third, the order terminal lets traders place market orders, pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop), and OCO-style stop-loss/take-profit combinations in a single ticket. Fourth, the Navigator panel organises accounts, indicators, Expert Advisors (EAs), and scripts.

Automated Trading with MQL4

One of MT4's defining features is its built-in programming environment, MetaEditor, which uses the MQL4 language. Traders write Expert Advisors — algorithmic programs that can open, manage, and close positions without manual intervention. A simple EA might be coded to buy EUR/USD whenever the 10-period Exponential Moving Average crosses above the 50-period EMA on the H1 chart, place a stop-loss 30 pips below entry, and target a take-profit of 60 pips, yielding a 1:2 risk-to-reward ratio automatically. MQL4 also supports custom indicators and scripts (one-time execution programs), giving technically inclined traders substantial flexibility without requiring a separate coding environment.

Execution and Order Types

MT4 supports market execution and instant execution modes, depending on broker configuration. In instant execution, if a price moves between the moment a trader clicks "Buy" and the moment the server processes the request, the broker can either re-quote or fill at the new price. In market execution, the order fills at the best available price with no re-quote, though slippage — the difference between the intended price and the actual fill — can occur. For instance, a trader attempting to buy GBP/USD at 1.27000 during a high-volatility news release might receive a fill at 1.27015, representing 1.5 pips of negative slippage.


Real-World Example

Suppose a trader deposits $5,000 USD with a forex broker and opens MT4. The broker offers EUR/USD with a spread of 1.2 pips and leverage of up to 1:30 under standard regulatory conditions (as applicable in many jurisdictions). The trader decides to buy 0.5 standard lots of EUR/USD (50,000 units) at 1.08500. The margin required at 1:30 leverage is calculated as: (50,000 × 1.08500) ÷ 30 = approximately $1,808.33. MT4 displays this in the "Trade" tab under "Margin." The trader sets a stop-loss at 1.08200 (30 pips) and a take-profit at 1.08800 (30 pips). If the price hits 1.08800, MT4 automatically closes the position, booking a profit of 30 pips × $5 per pip (for 0.5 lots) = $150. If the stop is hit instead, the loss is identically $150. The entire workflow — order placement, margin monitoring, and automatic closure — occurs within the MT4 terminal.


Why It Matters for Traders

MT4's near-universal adoption means that strategies, indicators, and EAs developed on the platform are portable across the vast majority of retail brokers. A custom indicator built in MQL4 can typically be dropped into any broker's MT4 installation and function identically. This interoperability reduces lock-in risk. Additionally, MT4's Strategy Tester module allows back-testing of EAs against historical tick data, helping traders evaluate logical consistency before risking live capital. The platform's low system requirements — it runs on Windows systems with minimal RAM — also make it accessible to traders using older hardware or virtual private servers (VPS) for uninterrupted EA operation.


Common Misconceptions

Misconception 1: "MT4 is outdated and no longer supported." While MetaQuotes announced in 2022 that it would cease issuing new MT4 licenses to brokers and removed MT4 from the Apple App Store, brokers that already hold MT4 server licenses continue to offer it legally. Millions of traders still use MT4 daily as of 2025, and many brokers maintain it alongside newer platforms.

Misconception 2: "MT4 guarantees fast or risk-free execution." MT4 is a software interface, not a liquidity source. Execution quality, spreads, and slippage depend entirely on the broker's liquidity providers and server infrastructure. Two brokers both offering MT4 can deliver dramatically different trading conditions.

Misconception 3: "Expert Advisors on MT4 generate consistent profits." EAs automate rule-based logic; they do not guarantee profitability. A back-test showing 80% win rate on historical data does not ensure forward performance, because market conditions change and historical data can be subject to look-ahead bias if the EA is not coded carefully.


Related Terms


How XM Compares

XM Group (operating under various regulated entities including Trading Point of Financial Instruments Ltd, authorised by CySEC) offers MetaTrader 4 alongside MetaTrader 5 across its account types. According to XM's officially published platform documentation, clients can access MT4 on desktop (Windows), WebTrader (browser-based), and mobile (iOS and Android), with the same account credentials usable across all versions simultaneously. XM's MT4 environment includes access to over 1,000 instruments spanning forex pairs, equity indices, commodities, and shares CFDs. Spread conditions, swap rates, and leverage caps applicable to XM accounts are disclosed in the broker's Contract Specifications pages, which traders should consult directly for current and jurisdiction-specific figures.


Compliance Footer

⚠️ Disclaimer: This glossary entry is provided for educational purposes only. Forex and CFD trading involves a significant risk of loss and is not suitable for all investors. Leverage can amplify both gains and losses. The information above does not constitute investment advice, a recommendation to trade, or a solicitation of any kind. Platform features, regulatory conditions, leverage limits, and broker terms vary by jurisdiction and are subject to change. Always verify current terms, conditions, and regulatory status on official broker and regulatory authority websites before engaging in any trading activity.


Browse all glossary entries: /en/glossary

Compare top forex brokers