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

Submit your code

A trading system that uses the XD-RangeSwitch 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

Classical Sudoku puzzle right in MetaTrader chart.

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

This robot uses a random number generator to simulate simply tossing a coin to decide on the direction of each trade. It provides an example of a minimal expert advisor programmed in an object-oriented style. It also provides a basis for quantifying the value added by alternative methods of entry.

It uses the values of ADX indicator for trading.

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 Expert Advisor tries "to catch" rollbacks after a strong movement. Candlestick analyses is used

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 trading system based on change of the trend direction and force of the trend displayed by the ColorXADX 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.

The Exp_XMACandles Expert Advisor is based on signals of the XMACandles indicator.

An example of receiving the High and Low prices of bars over the past 24 hours.

The EveningStar Expert Advisor trades the "Evening Star" pattern. Lot is calculated based on the risk value as a percentage of free margin.

Martingale and anti-martingale.

Trading on several candlestick patterns. The levels of Take Profit, Stop Loss, and Trailing are separate for BUY and SELL.

1...91011121314151617181920212223...37