Expert Advisors analyze price charts and trade automatically following underlying rules. Here you can find MQL5 source codes solving a variety of problems. You are able to select both simple Expert Advisors based on moving average crossing and complex ones involving complicated signal generation algorithms and protection against trading mistakes.
You can download and launch offered Expert Advisors in MetaTrader 5. It is recommended that you test and optimize trading robots in the Strategy Tester before using them. The library of Expert Advisors is also available directly from MetaTrader 5 platform and MetaEditor development environment.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Enable two-factor authentication ContinueThe Expert Advisor opens a position at the specified time in the direction opposite to that of yesterday's daily bar.
The Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up a market entry upon the conclusion of a trend on the trend reversal.
The Expert Advisor operating based on exponential and linear weighted moving averages of the same period.
The Expert Advisor operating based on the SAR and ADX indicators where the permitted trade direction is selected based on trade results.
The Expert Advisor based on the change in the 3rdGenXMA moving average direction.
Expert Advisor based on three moving averages and exit using Stop Loss or Take Profit. It sets up an entry with the trend.
The trading system operating based on the bounce off the support/resistance levels of the Pivot indicator
Expert Advisor that trades based on the AML indicator, at the intersection of the bar with the indicator line.
Ask Bid Ticks is a high-precision, real-time tick data solution for microstructure analysis (a tick data collector). It works with local computer time.
The Expert Advisor moves Stop Loss of the open position along the border of the channel built using ATR_Trailing.
The Expert Advisor is based on CCIT3_Simple and CCIT3_noReCalc. Crossing of the indicator's zero line is used for trading activity.
Inspired by Pirat's Expert Advisor submitted to the Automated Trading Championship 2011.
This Expert Advisor illustrates the usage of the IndicatorParameters() function to get the information about the number of input parameters, their type and values.
Introducing the example of visualization of optimization results in real time (balance curve dynamics and an Expert Advisor statistical parameters).
The Expert Advisor shows the use of the free LibCustomChart library for the automatic connection of the Expert Advisors and indicators to iCustomChart custom charts created on the basis of custom history files.
This Expert Advisor is example of use of the Memory Mapping DLL for working with File Mapping functions. In this example the Expert Advisor create a virtual (memory-mapped) file and start to update the quotes on symbol. Using this way, Expert Advisors can exchange data (for example, quotes) using common memory-mapped file.
Multicurrency "grider" with risk control (version for Automated Trading Championship 2011 and updated version).
Multi-currency Expert Advisor that analyze resonance events at related financial assets.
Multi-currency trend following expert system using the Triple Exponential Moving Average technical indicator.
This Expert Advisor is a demo of working with OBJ_CHART objects as conventional charts. You can set custom color settings, attach indicators etc.
The cIntBMP library provides the creation of graphic BMP images. We will consider the example of its use in creation of self-similar fractal sets using the Iterated Function System (IFS).
Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Relative Strength Index (RSI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Morning Star/Evening Star" candlestick patterns, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Morning Star/Evening Star" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Bullish/Bearish Meeting Lines" candlestick pattern, confirmed by RSI (Relative Strength Index) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Bullish/Bearish Meeting Lines" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.
Trade signals based on "Bullish/Bearish Meeting Lines" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.