Skip to content

MQL5 functions

List of MQL5 language functions

All MQL5 functions by sections

SectionDescription
Common FunctionsGeneral functions not included into any of the specialized groups
Array FunctionsFunctions for working with arrays. Four-dimensional arrays are allowed at most
Conversion FunctionsFunctions for converting data from one format to another
Math FunctionsA set of mathematical and trigonometric functions
String FunctionsFunctions for working with string type data
Date and TimeFunctions for working with datetime data (an integer representing the number of seconds elapsed since 00:00, January 1, 1970)
Account InformationFunctions for receiving data on the current trading account
CheckupFunctions for receiving the current state of the client terminal
Event HandlingFunctions for handling predefined MQL5 events
Market InfoFunctions for receiving market status data
Economic CalendarFunctions for working with economic calendar events
Timeseries and Indicators AccessFunctions for working with timeseries and indicators. Elements in the timeseries are indexed from the most recent to the oldest data
Custom SymbolsFunctions for creating and editing the custom symbol properties
Chart OperationsFunctions for working with charts. Chart property changes are implemented along with handling of the events queue of this chart
Trade FunctionsFunctions for conducting trading operations and receiving data on orders, positions and deals
Trade SignalsFunctions for managing trading signals
Network FunctionsFunctions for working with emails, FTP, push notifications, HTTP requests and remote servers
Global Variables of the TerminalFunctions for working with global variables of the client terminal
File FunctionsFunctions for working with files and “named channels”
Custom IndicatorsFunctions for setting properties in custom indicators
Object FunctionsFunctions for working with graphical objects related to a specified chart
Technical IndicatorsFunctions for creating a technical indicator and getting its handle. If the indicator already exists, no new copy is created
Working with Optimization ResultsFunctions for handling optimization results in the strategy tester
Working with EventsFunctions for working with user and timer events
Working with OpenCLFunctions for working with OpenCL programs
Last updated on