Specification
MQL5 programs are divided into four specialized types based on the trading automation tasks that they implement:
- Expert Advisor is an automated trading system linked to a chart. An Expert Advisor contains event handlers to manage predefined events which activate execution of appropriate trading strategy elements. For example, an event of program initialization and deinitializtion, new ticks, timer events, changes in the Depth of Market, chart and custom events.
In addition to calculating trading signals based on the implemented rules, Expert Advisors can also automatically execute trades and send them directly to a trading server. Expert Advisors are stored in <Terminal_Directory>\MQL5\Experts. - Custom Indicators is a technical indicator developed by a user in addition to standard indicators integrated into the trading platform. Custom indicators, as well as standard ones, cannot trade automatically, but only implement analytical functions. Custom indicators can utilize values of other indicators for calculations, and can be called from Expert Advisors.
Custom indicators are stored in <Terminal_Directory>\MQL5\Indicators. - Script is a program for a single execution of an action. Unlike Expert Advisors, scripts do not handle any event except for trigger. A script code must contain the OnStart handler function.
Scripts are stored in <Terminal_DIrectory>\MQL5\Scripts.
- Service is a program that, unlike indicators, Expert Advisors and scripts, does not require to be bound to a chart to work. Like scripts, services do not handle any event except for trigger. To launch a service, its code should contain the OnStart handler function. Services do not accept any other events except Start, but they are able to send custom events to charts using EventChartCustom. Services are stored in <terminal_directory>\MQL5\Services.
- Library is a set of custom functions. Libraries are intended to store and distribute commonly used algorithms of custom programs.
Libraries are stored in <Terminal_Directory>\MQL5\Libraries. - Include File is a source text of the most frequently used blocks of custom programs. Such files can be included into the source texts of Expert Advisors, scripts, custom indicators, and libraries at the compiling stage. The use of included files is more preferable than the use of libraries because of additional burden occurring at calling library functions.
Include files can be stored in the same directory where the original file is located. In this case the #include directive with double quotes is used. Another option is to store include files in <Terminal_Directory>\MQL5\Include. In this case #include with angle brackets should be used.
© 2000-2022, MetaQuotes Ltd.
- Language Basics
- Constants, Enumerations and Structures
- MQL5 programs
- Predefined Variables
- Common Functions
- Array Functions
- Matrix and Vector Methods
- Conversion Functions
- Math Functions
- String Functions
- Date and Time
- Account Information
- Checkup
- Event Handling
- Market Info
- Economic Calendar
- Timeseries and Indicators Access
- Custom Symbols
- Chart Operations
- Trade Functions
- Trade Signals
- Network Functions
- Global Variables of the Terminal
- File Functions
- Custom Indicators
- Object Functions
- Technical Indicators
- Working with Optimization Results
- Working with Events
- Working with OpenCL
- Working with databases
- Working with DirectX
- Integration
- Standard Library
- Moving from MQL4
- List of MQL5 Functions
- List of MQL5 Constants
Similar orders
Noganda EA
30+ USD
*MQL5 Bot: “HH_HL_Simple.mq5”* Copy → Paste → Compile in MetaEditor. //+------------------------------------------------------------------+ //| HH_HL_Simple.mq5 | //| WARNING: FOR EDUCATION/DEMO ONLY. YOU CAN LOSE MONEY. | //| @kasii_trader_nela - Learn first, trade later | //+------------------------------------------------------------------+ #property copyright "Educational use only" #property strict #include
Simple bot for opening range
30+ USD
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1
30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Professional AI Automation Trading Bot for Forex & Crypto
500 - 1500 USD
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
BullyMax Pro
30+ USD
"Act as an expert MQL5 algorithmic trading developer. I want you to create a profitable and efficient Expert Advisor for MetaTrader 5. Do not write the code yet; read the following trading rules, analyze them, and ask me any clarifying questions if needed. Timeframe: [e.g.15 minutes Chart] Entry Logic: [e.g.MACD + RSI + REVERSAL PRICE ACTION. Enter buy when Macd line crosses above the signal line ,RSI above 30 and
Risk Reward Ratio Indicator
30 - 200 USD
I want an indicator that displays the risk reward ratio of each chart candle as a sub window histogram. If the candle closes above the open the histogram displays a green bar above zero the size of which is dependant on the size of the RRR. If the candle closes below the open the histogram displays a red bar below zero the size of which is dependant on the size of the RRR. My attempt that does not work is attached
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Robots in C++ (cAlgo trading platform)
5000+ USD
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2🏆
30 - 200 USD
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot
30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
Project information
Budget
30 - 45 USD
Deadline
from 1 to 4 day(s)