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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 32

icon

Expert Advisors analyze price charts and trade automatically following underlying rules. Here you can find MQL5 source codes solving a variety of problems. You are able to select both simple Expert Advisors based on moving average crossing and complex ones involving complicated signal generation algorithms and protection against trading mistakes.

You can download and launch offered Expert Advisors in MetaTrader 5. It is recommended that you test and optimize trading robots in the Strategy Tester before using them. The library of Expert Advisors is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

The Expert Advisor using the UltraFatl oscillator.

Trading system using the AnchoredMomentum indicator

The Expert Advisor using the GG-RSI-CCI signal indicator.

The Expert Advisor using the UltraWPR indicator.

Trading system using the Extremum indicator

The Expert Advisor with the VortexIndicator indicator

Trading system using the ColorLinearRegSlope_V2 indicator.

This script attempts to demonstrate the power of using support vector machines in solving classification style problems. This version of the code has been written specifically to be used in conjunction with the demo version of the Support Vector Machine Learning Tool available for free from the MQL5 Market.

Trading system using the MACD_Xtr indicator

Trading system drawn on the basis of the signals of the TrendValue indicator

The breakthrough trading system using the MA_Rounding_Channel indicator.

Trading system using the zero point indicator.

Trading system using the Kolier_SuperTrend trend indicator

Trading system using the RMACD histogram.

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

The Exp_MAMA Expert Advisor drawn using the entry when crossing Moving Averages of the MAMA indicator

Trading system based on the signals of the parabolic that uses Moving Average values as an input time series.

The Exp_AdaptiveRenko Expert Advisor drawn on the basis of the NRTR of the AdaptiveRenko indicator

The Exp_JBrainSig1_UltraRSI Expert Advisor uses the values of JBrainTrend1Sig and UltraRSI indicators to analyze the market state.

The Expert Advisor is drawn on the Oracle redrawing indicator

The breakthrough trading system using the Candles_Smoothed indicator.

The Exp_2pbIdealXOSMA Expert Advisor is drawn on the basis of the 2pbIdealXOSMA indicator.

The Exp_2MoHLC based on the signals taken from the 2MoHLC_ indicator

The Exp_2pbIdealMA indicator is based on the crossing of two Moving Averages. A signal to perform a deal is formed at bar closing if there is crossing of a fast 2pbIdeal1MA Moving Average with a slow 2pbIdeal3MA Moving Average

When market activity decreases, then the Expert Advisor places two pending stop orders

The Expert Advisor analyses many Moving Averages from three timeframes

The Expert Advisor used on such indicators as the Moving Average, the CCI, stochastic

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

The Exp_ColorBBCandles Expert Advisor based on the ColorBBCandles indicator.

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 Exp_CenterOfGravity Expert Advisor is based on the CenterOfGravity indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

The Expert Advisor operates on the principle of the Moving Average. Simultaneously in both directions. Volume for BUY and SELL is calculated separately. Divide the volume received in accordance with the given "save percentage". It responds to the setting: "change the price"

The trading system based on the signals taken from the MaRsi-Trigger trend indicator

The trading system based on the signals taken from the CMO oscillator

The Expert Advisor on the T3MA-ALARM indicator

The Expert Advisor based on the candlestick analysis where only four last bars are analyzed

The Expert Advisor with a basic trading system on the basis of the CCI indicator and several linear perceptrons regulating the work of the basic trading system.

The trading system based on the signals taken from the BuySell semaphore, signal, trend indicator

The trading system based on the signals taken from the ColorBullsBearsEyes oscillator

The trading system based on the signals taken from the BullsBears semaphore signal trend indicator.

1...252627282930313233343536