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

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.

latest|best

Relative Strength Index with the market flat state detection option.

Money Flow Index with the market flat state detection option.

Relative Vigor Index with the market flat state detection option.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the AMkA indicator dots.

The AMkA_Signal indicator shows information on the current trend using the values of the AMkA indicator with a fixed timeframe.

The popular indicator by Constantine Kopyrkin. This version is based on the normalized NRatio oscillator.

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

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

The Exp_wlxBWWiseMan-2 Expert Advisor is designed using the semaphore signal indicator wlxBWWiseMan-2.

The trend indicator is formed of a colored cloud of the Hull moving average and its averaging.

An indicator of technical shapes by Merrill. М & W Wave Patterns by A. Merrill.

A TSI oscillator based on the values of the CCI technical indicator, implemented with its own signal line in the from of a colored cloud.

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

A TSI oscillator based on the values of the MACD histogram, implemented with its own signal line in the from of a colored cloud.

The wlxBWWiseMan-2 indicator with the timeframe selection option available in input parameters.

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

An MA using Perry Kaufmann's Adaptive Moving Average.

A trend indicator using the ATR technical indicator implemented in the form of NRTR.

A semaphore signal indicator using the Awesome oscillator.

The wlxFractals indicator is designed for drawing Bill Williams' fractals, defining the number of significant bars to the left and to the right.

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

The DS_Stochastic indicator is the original Stochastic Oscillator with the EMA smoothing.

The non-normalized oscillator ang_AZad_C helps to identify the dominant trend.

A modification of the MACD indicator, calculated with DeMarker's technical indicator data.

Chaikin Oscillator with the averaging type selection option.

The speed indicator of volume change. It shows how quickly the volume changes.

The MACD Indicator, in which the price series is replaced by the series of values of the Chaikin Oscillator technical indicator. It is drawn in the form of a colored cloud.

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

The Random Walk Index indicator is used in situations where it is necessary to determine whether the market instrument is in a developing trend or performs random motion.

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

The ExMass indicator helps to evaluate market fluctuations.

The TrendMagic_Signal indicator shows information on the current trend using the values of the TrendMagic indicator with a fixed timeframe.

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

The ExVol calculates the difference between the total sum of bodies of growing and falling candlesticks on a given interval in points.

The ExTrendv2 indicator draws fractal channels.

Trading system using the TrendMagic indicator.

A colored cloud formed by two WPR oscillators with different timeframes.

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

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

1...8990919293949596979899100101102103...141