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 Code Library for MetaTrader 5 - 42

icon

This is the largest free source code library for MetaTrader 5 platform programs. Here you can find ready-made Expert Advisors, technical indicators, scripts and libraries. Use the code library when learning MQL5 language and develop your own automated trading applications based on the provided codes.

You can freely download and test published codes, as well as launch them in MetaTrader 5. The library is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code
latest | best

The EA waits for a gap on a specified timeframe.

Trading by RSI and Moving Average. Moving Average is used as a trend filter on H1.

Momentum indicator by Anthony W. Warren (WAMI) indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

Wajdyss_Ichimoku_Candle indicator provides alerts, sends email and push notifications when the candles break through the Kijun Sen line (candle color changes to the opposite one).

The trading system based on the Wajdyss_Ichimoku_Candle 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.

The trading system based on the Open_Oscillator_Cloud 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.

Working with pending Buy Stop and Sell Stop orders.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price and displayed as candles.

Open_Oscillator_Cloud indicator with the timeframe selection option available in input parameters

Open_Oscillator indicator has the form of a colored cloud and has the ability to change the smoothing algorithm and display a trend direction by color.

DEMA_Range_Channel indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

CandleStop_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Rj_SlidingRangeRj_Digit_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price.

The MFICandleKeltner indicator with the timeframe selection option available in the input parameters.

The trading system based on DEMA_Range_Channel indicator signals with the possibility to set a fixed position holding time.

The trading system based on Rj_SlidingRangeRj_Digit_System indicator signals with the possibility to set a fixed position holding time.

The RSICandleKeltner indicator with the timeframe selection option available in the input parameters.

Projection Bands indicator in the form of oscillators.

Projection Bands indicator.

Market status indicator with signal lines.

The trading system based on CandleStop_System indicator signals with the possibility to set a fixed position holding time.

The trading system based on AbsolutelyNoLagLwma_Range_Channel indicator signals with the possibility to set a fixed position holding time.

The trading system based on XPeriodCandleSystem indicator signals with the possibility to set a fixed position holding time.

The signal indicator based on Momentum, CCI, ATR, RSI and ADX.

MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.

KDJ

KDJ oscillator defines when it is necessary to search for market entry conditions.

IdeaTrend is meant for checking a trend defining idea.

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.

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

The Rj_SlidingRangeRj_Digit_System indicator with the timeframe selection option available in the input parameters.

The indicator paints candles going beyond the Rj_SlidingRangeRj_Digit channel.

The EA based on iCCI (Commodity Channel Index, CCI) indicator plus managing position volumes using martingale.

XPeriodCandleSystem indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Chaikin_Volatility_Histogram indicator with the timeframe selection option available in the input parameters.

Ozymandias_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.

Version of the AMA Histogram indicator.

The EA based on single iMA (Moving Average, MA) indicator signals.

Chaikin volatility indicator as a colored histogram.

1...353637383940414243444546474849...176