Watch how to download trading robots for free
Find us on Facebook!
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 - 11

Submit your code

The EA uses two Moving Averages, one MACD and one CCI. OnTradeTransaction is used to receive position opening time.

Hedge The Hedge Trader EA.

Two identical trading systems based on the change in the color of XFatlXSatlCloud for long and short trades, which can be configured in different ways in one Expert Advisor.

A trading system based on ColorJFatl_Digit indicator signals with the possibility to set a fixed position holding time.

Trend-following trading system Exp_ColorX2MA_X2 based on the signals of two indicators ColorX2MA

An Expert Advisor for closing all positions, in case of the total losses on those positions exceeded the Stop Loss level fixed in inputs, or where it is necessary to close all positions beyond the time interval fixed in the settings.

One of the variations of the "Avalanche" strategy. Martingale is used.

A trading system based on the signals of indicator i-KlPrice_Vol

An Expert Advisor for placing Stop Loss and Take Profit.

An Expert Advisor, based on the "Puria method" Forex Strategy.

This Expert Advisor uses the Index Moving Average indicator.

Trade signals based on "Bullish Harami/Bearish Harami" 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.

Trading system using the Ozymandias indicator.

The Exp_SilverTrend_Signal_ReOpen trading system based on the signals of the SilverTrend_Signal indicator with scaling by the trend.

Trading on a new bar only. The rules are simple: if MAIN_LINE MACD (1) > MAIN_LINE MACD (2) -> Buy, if MAIN_LINE MACD (1) < MAIN_LINE MACD (2) -> Sell". When a signal opposite to open positions is received, close all positions.

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

The Expert Advisor uses four iMA (Moving Average, MA) indicators from two timeframes. Two indicators with averaging periods 1 and 8 are created on the H1 timeframe and two indicators with averaging periods 1 and 8 are also created on the H4 timeframe.

This Expert Advisor allows you to save infomation about the ticks, actual or simulated in Strategy Tester.

This Expert Advisor performs the synchronization of charts.

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

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

The Exp_CronexCCI EA is based on signals generated by the CronexCCI oscillator.

The Exp_ColorSchaffJJRSXTrendCycle Expert Advisor is based on the ColorSchaffJJRSXTrendCycle oscillator change of position relative to the overbought and oversold levels.

The Exp_ColorZerolagJJRSX Expert Advisor enters the market when the ColorZerolagJJRSX indicator cloud changes its color.

The Exp_CHOWithFlat Expert Advisor is based on the change of color of the CHOWithFlat indicator.

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

The Exp_Fisher_org_v1 EA is based on the signals generated by the Fisher_org_v1 oscillator.

Exp_X2MA_JJRSX trend-following trading system is based on ColorX2MA and ColorJJRSX indicator signals.

The trading system based on the three Stochastics signals from three different timeframes.

The trading system based on the three RVI oscillator signals from three different timeframes.

The simplest Expert Advisor based on WPR.

Working with indicator iMA (Moving Average, MA) with a rigidly defined timeframe: D1.

An example for calculating the lot value in accordance with the risk per trade.

An example of an Expert Advisor with a Trailing Stop implementation.

The MARE5.1 Expert Advisor is very easy to use. It uses the values of two Moving Averages (SMA) at the close of 0th, 2nd and 5th bar. The EA is configured to work on the M1 timeframe.

OnTradeTransaction

If a trade is closed by Stop loss, the volume is doubled; if by Take profit the minimum volume is used. OnTradeTransaction is used to determine whether a trade was performed after the activation of Stop loss or Take profit.

The Expert Advisor trades in a channel. When a flat channel is found or when the market slows down, the EA places a pending order expecting the channel breakout.

Trading in a channel based on a Moving Average with the period of 220 and three Envelopes with the periods of 220 and different heights. Position trailing.

The EA compares the opening prices of the zeroth and the second bar. It moves positions to a breakeven and/or enables trailing.

1...456789101112131415161718...38