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 - 10

Submit your code

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.

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.

Trading on indicator Heiken Ashi Smoothed Oscillator. Settings for placing Stop Loss, Take Profit, and Trailing the positions.

Indicators iCCI (Commodity Channel Index, CCI) and two iMAs (Moving Average, MA) are used.

Two identical trading systems (for long and short deals) based on the ColorPEMA indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

This simple Expert Advisor uses Simple Moving Average and ADX indicators.

This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy and Bollinger Bands indicator.

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

The Expert Advisor with a very simple price analysis in two bars and with the increasing lot after a loss

An Expert Advisor based on the difference of two moving averages.

The Exp_ColorZerolagTriX Expert Advisor enters the market when the ColorZerolagTriX indicator cloud changes its color.

A simple way on how EA can link a manual order command from outside to use it in MetaTrader 5 Strategy Tester.

An example of using the MasterWindows library for creating a game trade panel.

Trading system based on DarvasBoxes_System indicator signals.

Crossing of the two iMAs.

The Expert Advisor trades based on two iMA: iMA(5) and iMA(4) on the M5 timeframe.

The EA uses 15 IMA indicators and two iAC indicators.

EMA_WMA - Expert Advisor for MetaTrader 5. Intersection of two iMA (MA).

The Expert Advisor makes trading decisions based on simple candlestick combinations. It is designed for use on the H4 period.

Trading based on the Bollinger Bands indicator. Chart time-frame — M30 and higher.

This EA uses indicators iCCI (Commodity Channel Index, CCI), ZigZag, and Impulse. Position trailing is possible.

The EA works in the quietest hours (upon closing the American session and before opening the Asian session).

A trading strategy based on indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

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

An EA based on indicators iRSI (Relative Strength Index, RSI) and RFTL

Working by iMA (Moving Average, MA) and OHLC of W1 timeframe

The Expert Advisor applies iADX (Average Directional Movement Index, ADX) and iBands (Bollinger Bands, BB) indicators

Trade signals based on "Hammer/Hanging Man" 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.

An Expert Advisor based on two indicators - Renko Line Break and RSI. It trades stop orders.

Simple TP/SL panel for MetaTrader 5.

The Exp_CandlesticksBW Expert Advisor based on signals of the CandlesticksBW indicator.

The Exp_i-SpectrAnalysis_Chaikin Expert Advisor is based on change of direction of the i-SpectrAnalysis_Chaikin indicator.

Open and close at a certain time. A trade having a specified volume is opened at a specified symbol. Select position type: Buy or Sell.

An Expert Advisor based on two indicators iMA (Moving Average, MA).

iMACD (Moving Average Convergence/Divergence, MACD) with adjustable timeframes and a Stochastic of the current timeframe.

The Expert Advisor opens trades based on the Bollinger Bands indicator.

1...34567891011121314151617...37