Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top Expert Advisors for MetaTrader 5 based on user ratings - 14

Submit your code

The Exp_XROC2_VG_X2 trend-following trading system is based on the signals of two XROC2_VG indicators.

Signals are generated by the iBands, Bollinger Bands indicator. When a signal is received, opposite positions are closed.

The Expert Advisor places four positions with different Take Profit levels per time. As soon as one Take Profit triggers, the other positions will be moved to breakeven.

Trading by RSI and Moving Average. Moving Average is used as a trend filter on H1.

Range BreakOut EA. The range is defined by the min number of bars and max width in pips. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

This code block detects a New Bar or a New Candle when it has received.

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, 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.

Trading system using the Exp_ColorJVariation oscillator.

This EA is based on SMA, ADX and SAR indicators.

A trading system that uses the XD-RangeSwitch semaphore, signal indicator.

The Exp_ColorMaRsi-Trigger Expert Advisor is based on signals triggered by the colors of the ColorMaRsi-Trigger semaphore signal indicator.

Trading system based on ColorJ2JMAStDev indicator signals.

The Exp_ColorJFatl_Digit_ReOpen trading system is based on the ColorJFatl_Digit indicator color change with adding to trend-following positions.

The simplest EA based on the fractal Force_Index.

The Expert Advisor uses Parabolic SAR and three EMAs (with the periods of 10, 25 and 50).

The Exp_XFatlXSatlCloud trading system is based on change of the trend direction displayed by the XFatlXSatlCloud indicator

The Expert Advisor uses Burg's method for linear prediction.

A trading system based on indicators MACD and SAR. The signal receiving formula is completely optimizable.

Positions are opened pseudorandomly. In case of loss (closing by Stop Loss and negative profit), Martingale is applied.

The EA based on single iMA (Moving Average, MA) indicator signals.

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

An Expert Advisor based on iRSI (Relative Strength Index, RSI).

An Expert Advisor based on iMA (Moving Average, MA) and iMomentum (Momentum).

Working with pending Stop orders

Official example involve complex wrapper classes, Here is a simple one

This code is a template of an Expert Advisor, written by Valery Mazurenko (notused) for ATC-2010.

Trade signals based on "Dark Cloud Cover/Piercing Line" 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 "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.

Multi-currency trend following expert system using the Triple Exponential Moving Average technical indicator.

The trading system based on the signals taken from the BuySell semaphore, signal, trend indicator

The Exp_CoeffofLine_true Expert Advisor based on the CoeffofLine_true indicator. A signal to perform a deal is formed at bar closing, if the histogram breakthroughs its zero level

The Expert Advisor on the breakthrough of the range defined by the signals of the Narrowest Range Signal indicator. Handling stop orders

This Expert Advisor is based on signals generated by the Simple Trading System semaphore arrow signal indicator.

The Exp_ColorZerolagTriXOSMA Expert Advisor is based on the ColorZerolagTriXOSMA histogram change of direction.

The Exp_iAnchMom Expert Advisor is based on the reversal of the iAnchMom histogram direction.

The Exp_XDerivative Expert Advisor is based on the XDerivative oscillator change of direction.

Trading system based on ColorHMA_StDev indicator signals.

Exp_TSICloud Expert Advisor is based on the change of color of TSICloud indicator.

Trading system based on the signals of the i-CAi_StDev indicator.

1...789101112131415161718192021...36