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

Submit your code

Trading based on indicator iStochastic (Stochastic Oscillator, Stochastic). Stop Loss, Take Profit, and Trailing of a position can be enabled/disabled.

A trading system using oscillator UltraAbsolutelyNoLagLwma.

At the specified hour, the Expert Advisor analyzes OHLC of the previous bar and sets pending orders

Expert Advisor based on iAO (Awesome Oscillator, AO)

Two identical trading systems (for long and short deals) based on the AdaptiveRenko 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

The eInTradePanel is a panel for manual trading, it has some useful functions. It needs the minimum space on the chart.

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.

The Expert Advisor on a single-layer line Perceptron with 4 entries which analyzes the Accelerator Oscillator indicator's data

The Exp_FineTuningMA Expert Advisor is based on the reversal of the FineTuningMA moving average direction.

A trading system based on the signals of the SilverTrend_Signal indicator.

Trading system based on the signals of the JSatl_Digit_System indicator.

ExpHAWaves is a MetaTrader 5 Expert Advisor based on the Heiken Ashi and StepUpDown indicators.

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

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.

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.

Using Perceptron, Automatic Learning

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 Exp_BykovTrend_ReOpen trading system based on the signals of the BykovTrend indicator with scaling by the trend.

The Expert Advisor trades moving average breakouts. It uses the following indicators: two iMAs (Moving Average, MA), iRSI(Relative Strength Index, RSI) and two iEnvelopes (Envelopes).

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

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging.

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

A trading strategy "three bars down, Stochastic up".

The Expert Advisor uses the signals of "crossover of two iMAs (Moving Average, MA)". The EA uses Trailing Stop and Take Profit.

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.

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

1...8910111213141516171819202122...37