MetaTrader 4

From Wikipedia, the free encyclopedia
MetaTrader 4
Developer(s)Metaquotes Software Corp.
Operating systemWindows, Android, iOS[1]
TypeTrading platform, Technical analysis software
LicenseMetaquotes Software Corp.

MetaTrader 4, also known as MT4, is an electronic trading platform widely used by online retail foreign exchange speculative traders. It was developed by MetaQuotes Software and released in 2005. The software is licensed to foreign exchange brokers who provide the software to their clients. The software consists of both a client and server component. The server component is run by the broker and the client software is provided to the broker's customers, who use it to see live streaming prices and charts, to place orders, and to manage their accounts.

The client is a Microsoft Windows-based application that became popular mainly due to the ability for end users to write their own trading scripts and robots that could automate trading. In 2010, MetaQuotes released a successor, MetaTrader 5. However, uptake was slow and as of April 2013 most brokers still used MT4. While there is no official MetaTrader 4 version available for Mac OS, some brokers provide their own custom developed MT4 variants for Mac OS.[2][3][4]

Metatrader is also available for mobile and supports Android, iOS and Windows mobile


Its developer, MetaQuotes Software, had previously released a number of versions of the MetaTrader platform starting in 2002. MetaTrader 4 was a significantly enhanced version and was released in 2005.[5]

Between 2007 and 2010, a number of brokerages added the MT4 platform as an optional alternative to their existing trading software due to its popularity with traders and the large number of third party scripts and advisors.[6]

In October 2009, a significantly re-coded MetaTrader 5 went into public beta testing.[7] The first MT5 live account was subsequently launched by InstaForex in September 2010.[8] In 2013 and 2014, the MQL4 programming language was completely revised eventually reaching the level of MQL5. Starting from build 600, MQL4 and MQL5 use unified MetaEditor.[9]

Although MT5 was introduced in 2009, according to a study conducted in September 2019, MetaTrader 4 was still the most popular Forex trading platform in the world at the time.[10]

On September 24, 2022, it was reported that MetaTrader 4 and MetaTrader 5 platforms had been removed from Apple's App Store but was still available on the Android Play Store. While it was alleged that the removal was connected to the international sanctions on Russia, where MetaQuotes originates, the company's representative stated that the removal was due to non-compliance with the App Store Review Guidelines.[11]

Later, on March 6, 2023, after the company made changes to the app, both MT4 and MT5 iOS apps were back to App Store.[12]


A chart from the MT4 trading screen

The client terminal includes a built-in editor and compiler with access to a user contributed free library of software, articles and help. The software uses a proprietary scripting language, MQL4/MQL5,[13][14][15] which enables traders to develop Expert Advisors, custom indicators and scripts. MetaTrader's popularity largely stems from its support of algorithmic trading.

Yahoo! hosts a large group (over 12,000 members) devoted to development of free open source software for MetaTrader.[16]

MT4 is designed to be used as a stand-alone system with the broker manually managing their position and this is a common configuration used by brokers. However, a number of third party developers have written software bridges enabling integration with other financial trading systems for automatic hedging of positions. In late 2012 and early 2013, MetaQuotes Software began to work towards removing third-party plugins for its software from the market, suing and warning developers and brokers.[17]

MetaTrader provide two types of trading orders, Pending Orders and Market Orders. Pending orders will be executed only when the price reaches a predefined level, whereas Market orders can be executed in one of the four modes: Instant execution, Request execution, Market execution, and Exchange execution.[18] With Instant execution, the order will be executed at the price displayed in the platform. Its advantage is that the order will be executed at a known price. However, a good trading opportunity can be missed when the volatility is high and the requested price cannot be served.[19] Request execution mode enables trader to execute a Market order in two steps — first, a price quote is requested, then, a trader decides whether to buy or sell using the received price. A trader has several seconds to decide if the received price is worth trading. Such mode offers a certain knowledge of price combined with guaranteed execution at that price. The tradeoff is the reduced speed of execution, which can take a lot longer than other modes.[20] With Market execution, the orders will be executed with broker's price even if it is different from that displayed in the platform. The advantage of this mode is that it allows trading without any sort of requotes. However, deviation can get considerable during volatile price changes.[21] In Exchange execution mode, the order is processed by the external execution facility (the exchange). The trade is executed according to the current depth of market.[22]


The complete MetaTrader 4 package includes the following components:

  • MetaTrader 4 Client Terminal - the client part. Provided free by brokerages for real-time online trading and as Demo (practice trading) accounts. This provides trade operations, charts and technical analysis in real time. The internal C-like programming language allows users to program trading strategies, indicators and signals. 50 basic indicators are included, each of which can be further customized. The software runs on Windows 98/2000/XP/Vista/7. Some users have reported success using Wine on Linux for the client terminal[23] and on Mac using WineBottler.[24]
  • MetaTrader 4 Mobile - controls a trading account via mobile devices such as mobile phones or PDAs. Runs on Windows Pocket PC 2002/Mobile 2003,[25] iOS,[26] and Android.[27]
  • MetaTrader 4 Server - the core of the system, the server part. Designed to handle user requests to perform trade operations, display and execution of warrants. Also, sends price quotes and news broadcasts, records and maintains archives. Works as a service. Does not have a separate interface.
  • MetaTrader 4 Administrator - is designed to remotely manage the server settings.
  • MetaTrader 4 Manager - designed to handle trade inquiries and manage customer accounts.
  • MetaTrader 4 Data Center - a specialized proxy server and can be an intermediary between the server and client terminals. It reduces the price quote sending load on the main server.


The platform is focused on margin trading. Some brokerages use MetaTrader 4 to trade CFD but it is not designed for full-time work in the stock market or exchange-traded futures. At the same time, MetaTrader 5 also works with equities and commodities exchange-traded commodities. Both MetaTrader 4 and 5 can use custom indicators and trading programs (called Expert Advisors) for trading automation.[28]

See also[edit]


  1. ^ "Download the MetaTrader 5 platform for trading on financial markets".
  2. ^ "XEMarkets Launches XEM MT4 for Mac Operating System". Forex Broker News. April 10, 2013. Archived from the original on April 22, 2017. Retrieved April 11, 2013.
  3. ^ "Running MetaTrader on a Mac". Metatrader Programming. March 17, 2012. Archived from the original on March 18, 2014. Retrieved March 17, 2014.
  4. ^ "Full list of brokers with native Mac MT4 versions". Metatrader 4 mac. October 12, 2014. Archived from the original on October 18, 2014. Retrieved October 13, 2014.
  5. ^ "Meta Quotes Software". Archived from the original on 28 April 2015. Retrieved 28 April 2015.
  6. ^ "MetaTrader 4 Brokers and Tutorial | History". Retrieved 2022-06-09.
  7. ^ "Download MetaTrader 5". 12 October 2009. Retrieved 28 April 2015.
  8. ^ "For the first time ever: MT5 real accounts from In... 14.09.2010". Retrieved 2022-06-09.
  9. ^ "MT4 Build 600: Full Recap". 10 February 2014. Retrieved 28 April 2015.
  10. ^ "Forex Trading Industry Statistics and Facts 2020". 9 September, 2020
  11. ^ Oladipupo, Solomon (24 September 2022). "MT4 and MT5 Trading Apps Have Been Removed from Apple App Store". Retrieved 25 September 2022.
  12. ^ "MetaTrader 4 and 5 Applications are back in the Apple App Store". 2023-03-06. Retrieved 2023-06-25.
  13. ^ Young, Andrew (16 December 2009). Expert Advisor Programming: Creating Automated Trading Systems in MQL for MetaTrader 4. Edgehill Publishing. ISBN 978-0982645901.
  14. ^ "Programming of mql4 vs mql5". Retrieved 28 April 2015.
  15. ^ "Novelties of the MQL5 language". MQL Magazine. 21 November 2009. Archived from the original on 25 April 2010. Retrieved 28 April 2015.
  16. ^ "MetaTrader_Experts_and_Indicators - Yahoo Groups". Yahoo!. Archived from the original on April 28, 2015. Retrieved 28 April 2015.
  17. ^ Finberg, Ron (22 March 2013). "MetaQuotes Warns Brokers About Illegal Plugins". Finance Magnates. Retrieved 28 April 2015.
  18. ^ "Types of Execution". MetaQuotes. Archived from the original on 30 December 2015. Retrieved 2 June 2015.
  19. ^ "MT4 Instant and Market Execution Explained". 10 September 2013. Retrieved 2 June 2015.
  20. ^ "MT4 ECN – Open and Close Positions". Price Markets (UK). 8 January 2015. Retrieved 2 June 2015.
  21. ^ Moraru, Andriy (21 April 2015). "Instant Execution vs. Market Execution". Retrieved 2 June 2015.
  22. ^ "User Guide for the online trading platform EF MetaTrader 5 for Android OS" (PDF). EuroFinance. Retrieved 2 June 2015.
  23. ^ Jafar Calley (17 June 2010). "Installing Metatrader 4 Forex Charts Under Linux". Retrieved 28 April 2015.
  24. ^ "Installing Metatrader on Mac". 16 April 2013. Archived from the original on 3 April 2015. Retrieved 28 April 2015.
  25. ^ "MetaTrader 4 for Windows Mobile". Cryptorocket. Retrieved 24 June 2019.
  26. ^ "MetaTrader 4 on The App Store". iTunes. Retrieved 28 April 2015.
  27. ^ "MetaTrader 4 on Google Play". Retrieved 28 April 2015.
  28. ^ "MetaTrader 5 vs. MetaTrader 4 Comparison Table". FXStreet. Retrieved 28 April 2015.

External links[edit]