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

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

An alternative to the Bollinger Bands® indicator using Average True Range.

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

Three Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.

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

Three Bollinger Bands channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels and the possibility to round Bollinger levels up to a required number of digits.

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

The standard Ichimoku indicator, in which the distance between the Tenkan-sen and Kijun-sen lines is filled with a color histogram for for a better visual analysis.

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

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

The HighestLowestRange (HLR) indicator implemented as a histogram with a color indication of entering the overbought and oversold zones.

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

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

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

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

A trading system based on the signals of the CCI_Histogram indicator.

A histogram of difference between ATR and its averaging implemented in color and complemented with the volatility change signals.

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

The average of ATR (AATR) is a simple but efficient indicator to use for confirmation with any Price Action strategy.

A trading system based on the signals of the Stochastic_Histogram indicator.

A trading system based on the signals of the ColorXMACDCandle indicator.

The WPR_Histogram oscillator with the timeframe selection option available in input parameters.

The RSI_Histogram oscillator with the timeframe selection option available in input parameters.

The classical Commodity Channel Index indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

The RVI_Histogram oscillator with the timeframe selection option available in input parameters.

A trading system based on the signals of the RVI_Histogram indicator.

A trading system based on the signals of the MAOscillatorHist indicator.

A Moving Average with the period that changes during trend.

The MAOscillatorHist stochastic oscillator with noise reduction and the timeframe selection option available in input parameters.

A trading system based on the signals of the WPR_Histogram indicator.

A trading system based on the signals of the MFI_Histogram indicator.

A trading system based on the signals of the RSI_Histogram indicator.

A multi-currency (10 currency pairs) Expert Advisor that does not use indicators.

The classical RVI oscillator implemented as a histogram with a color indication of entering the overbought and oversold areas, as well as a colored cloud between the signal line and the oscillator to indicate the oscillator intersections.

The classical Stochastic Oscillator implemented as a histogram with a color indication of entering the overbought and oversold areas, as well as a colored cloud between the signal line and the oscillator to indicate the oscillator intersections.

The classical MFI indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

The classical WPR indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

The classical DeMarker indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

The classical RSI indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.

The ColorXMACD indicator implemented as a sequence of candlesticks.

A simple oscillator based on the difference between values of two MAs either of different periods or of the same one but with a "lag" of a few bars.

1...9899100101102103104105106107108109110111112...176