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

MQL5 Source Codes of Expert Advisors for MetaTrader 5 - 26

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

Trading system using the iCCI_NR indicator.

Trading system using the ColorMETRO_Stochastic indicator.

Trading system using the ColorMETRO_DeMarker indicator.

The Exp_Loco Expert Advisor based on signals of the Loco indicator.

The Exp_MACD-2 Expert Advisor based on signal entry taken from the MACD-2 indicator.

The Exp_AnchoredMomentumCandle Expert Advisor based on signals of the AnchoredMomentumCandle indicator.

The Expert Advisor Exp_KalmanFilterCandle based on signals of the KalmanFilterCandle indicator.

The Expert Advisor Exp_MACDCandle based on signals of the MACDCandle indicator.

Trading system based on the signals of the Laguerre_ROC indicator.

The Exp_LeManTrend EA is based on the signals generated by the LeManTrend oscillator.

Trading system based on the signals of the i-GAP indicator.

Trading system based on the signals of the PA_Oscillator indicator.

Robot that trades the open sentiment of the market.

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

The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

Trading system based on the signals of the Dots indicator.

Trading system based on the signals of the Super_Trend indicator.

The Exp_ColorXCCXCandle Expert Advisor is based on the change of color of the ColorXCCXCandle indicator candles.

Trading system based on the signals of the MomentumCandleSign indicator.

A scalper that trades depending on the last deal on the open interest side.

Trading system based on the signals of the XMA_Range_Channel indicator.

Trading system based on the signals of the JMACandleSign indicator.

The Exp_DigitalF-T01 Expert Advisor enters the market when the DigitalF-T01 indicator cloud changes its color.

The Exp_CHOWithFlat Expert Advisor is based on the change of color of the CHOWithFlat indicator.

The Exp_TriXCandle Expert Advisor is based on the change of color of the TriXCandle indicator candles.

The Exp_FrAMACandle Expert Advisor is based on the FrAMACandle indicator candlestick color change.

The Exp_MA_Rounding_Candle Expert Advisor is based on the MA_Rounding_Candle indicator candlestick color change.

The Exp_ColorZerolagDeMarker Expert Advisor enters the market when the ColorZerolagDeMarker indicator cloud changes its color.

The Exp_ColorSchaffJCCXTrendCycle Expert Advisor is based on the ColorSchaffDeMarkerTrendCycle change of position relative to the overbought and oversold levels.

The Exp_LSMA_Angle Expert Advisor is based on the LSMA_Angle histogram breakthrough of the overbought and oversold levels

The Exp_LinearRegSlope_V1 Expert Advisor enters the market when the LinearRegSlope_V1 indicator cloud changes its color.

The Exp_Laguerre_ADX Expert Advisor is based on the Laguerre_ADX indicator color change.

The Exp_LaguerreFilter Expert Advisor with the entry at the intersection of the fast and the slow lines of the LaguerreFilter indcator.

The Exp_XKRI_Histogram Expert Advisor is based on the XKRI_Histogram oscillator change of direction.

The Exp_XDerivative Expert Advisor is based on the XDerivative oscillator change of direction.

The Exp_TEMA_CUSTOM Expert Advisor is based on the TEMA_CUSTOM indicator change of direction.

The Exp_KPrmSt Expert Advisor with the entry at the intersection of the signal and the oscillator lines of the KPrmSt indicator.

The Exp_derivative Expert Advisor is based on the breakthrough of the zero level by the Derivative indicator.

The Exp_KalmanFilter Expert Advisor is based on the KalmanFilter indicator color change.

The Exp_ColorSchaffJCCXTrendCycle Expert Advisor is based on the ColorSchaffJCCXTrendCycle oscillator change of position relative to the overbought and oversold levels.

1...192021222324252627282930313233...36