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

Submit your code

This Expert Advisor closes all positions if the total profit exceeds a predefined limit.

The Expert Advisor plays sound alerts when candlestick size exceeds a certain value.

A trading system based on the Vortex Oscillator signals.

The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.

It calculates the Typical prices for bars #1, #2, and #3

Calculator-panel to calculate profit/loss. Data is calculated either when moving lines, or changing the parameters in input fields of the entry price, lot, profit or loss in pips or in deposit currency

Trading system based on trend_arrows indicator signals.

e-Regr — MetaTrader 5 Expert Advisor. Trading by i-Regr (Regression Channel). Extensive use of the standard library classes.

The strategy is based on two indicators: ADX and MA, and the close of the first bar. Also, different TakeProfit, StopLoss and Trailing levels are used for Buy and Sell.

The strategy uses two indicators Moving Average, MA with different periods, Commodity Channel Index, CCI and Williams’ Percent Range, %R.

The Exp_IBS_RSI_CCI_v4_X2 trend-following trading system is based on the signals of two IBS_RSI_CCI_v4 indicators.

Two independent trading systems using indicators BrainTrend2 and AbsolutelyNoLagLWMA within one EA.

A simple Pivot. No stop loss and take profit are used.

The trading system based on the JFatlCandle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Two identical trading systems (for long and short positions) based on the signals of the AdaptiveRenko indicator, which can be configured in different ways within one Expert Advisor

The strategy is based on two indicators calculated on two timeframes: iAO (Awesome Oscillator, AO) on the D1 TF and iStochastic (Stochastic Oscillator, Stoh) on H1.

Copy these into any EA you are busy coding and you"ll have a trailing sl the only things you'll need to change would probably be InpMagic for your magic number or you could just copy my code as is , Remember to add COrderinfo ord; and CPositionInfo pos;

The Improved version of MаrtGreg Expert Advisor.

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

The Moving Average Expert Advisor trades when the price crosses the MA.

The Exp_CGOscillator_X2 trend trading system based on the signals from two CGOscillator indicators.

This utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.

Two ZigZag indicators are used for analysis.

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

An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.

The EA uses Martingale. Initial entry by indicator iStochastic (Stochastic Oscillator).

iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators are configured for crossing of the two iMAs (Moving Average, MA) plus for Buy and Sell separately.

A trading system based on the signals of indicator FineTuningMACandle

The OnTick event handler is designed to proceed the ticks for a certain symbol. This is the version of Multicurrency tick event handler.

Chart reinitialization with recalculation of all chart indicators.

The Expert Advisor uses the Moving Average and Stochastic indicators.

Selflearning Expert Advisor

The Expert Advisor drawn on the basis of the MALR indicator. Trailing stop, lot increase, averaging and reversal functions are available

The Exp_CenterOfGravityOSMA Expert Advisor is based on the CenterOfGravityOSMA histogram change of direction.

The Exp_ColorHMA Expert Advisor is based on the reversal of the ColorHMA moving average direction.

The Exp_BalanceOfPower_Histogram Expert Advisor is based on change of direction of the BalanceOfPower_Histogram indicator.

The Exp_Delta_WPR Expert Advisor is based on the Delta_WPR indicator color change.

The PROphet Expert Advisor consists of two independent linear perceptrons.

The Exp_RSIOMA Expert Advisor based on the signals taken from the RSIOMA histogram.

A trading system that only trades on resverse and from Thursday to Friday only.

123456789101112131415...37