MetaQuotes Language 4 (MQL4) is an integrated programming language for developing trading strategies allowing you to create trading robots, technical indicators, scripts, and function libraries for use on the MetaTrader 4 trading platform. All these instruments significantly enhance traders' abilities when trading Forex.
MetaQuotes Language 4 is based on the concepts of the popular С++ programming language. MQL4 is also a high-level object-oriented programming language. The operation
speed and flexibility of the language allow you to develop very complex programs with large amount of calculations and accurately manage almost all Expert Advisor and indicator parameters.
MQL4 contains a large number of functions which are necessary for analyzing current and previously received quotes, and has built-in basic indicators and functions for managing trading orders and controlling them.
With MQL4 you can develop various programs for analyzing of the markets and for trading automatically:
- Trading robot (Expert Advisor) is an application that can be programmed to perform trades and analyze the market on its own, doing all the hard work for you.
- Custom Indicators are tools for analyzing the market similar to the ones that are built into the platform. Develop your own indicator and program any algorithm into it.
- Scripts are applications for executing relatively simple but frequently used actions. For example, deleting all objects from the chart, closing all orders or, alternatively, setting a number of pending orders for an open position.
- Library is a set of custom functions. It is intended to store and distribute algorithms that are commonly used in custom applications.