Download MetaTrader 5

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

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

A semaphore signal indicator that generates trade signals in accordance with trend direction changes.

A trend indicator in the form of a moving average that changes color depending on trend direction.

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

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

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

Signal based on the indicator developed by the Brazilian analyst Odir Aguiar (Didi).

Moving Average Convergence/Divergence with Histogram. Based on MACD.mq5.

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

Two Bollinger Bands channels based on one moving average, with the display of the last values as price labels.

Bollinger Bands channel with the display of the last values as price labels.

Trading system based on the signals of the BSI indicator.

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

The Channel indicator. The indicator also displays the current channel levels as price labels and the type of the signal for making trading decisions.

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

Bounce Strength Indicator (BSI) shows the strength of bounce according to the Wyckoff method.

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

The MACD ColorMACD histogram with the timeframe selection option available in input parameters.

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

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

Class for expanding the capabilities of MqlRates.

The indicator displays rapid reversals to the dynamic change of the direction in the form of a cloud.

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

The indicator displays rapid reversals to the dynamic change of the direction.

The indicator shows the entry point that follows the reversal bar.

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

Three Envelopes channels, based on one moving average with different deviation values, drawn as a cloud.

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

Two Envelopes channels, based on one moving average with different deviation values, drawn as a cloud.

The XEnvelopes with the timeframe selection option available in the input parameters.

The classic Envelopes indicator which uses the algorithms of universal averaging and fills the channel with a colored background.

The indicator helps to determine the beginning and end of trends on the basis of the slope of the "matches" lines and the color of their heads. Each match represents a line between the smoothed open price of a bar and the smoothed close price of the next one.

The CCI_On_StepChannel with the timeframe selection option available in the input parameters.

The classic CCI indicator which uses the typical price of the moving average as a data source. This version of the CCI indicator uses the average line of the Volatility Step Channel indicator.

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

The indicator plots the Step Channel based on volatility.

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

The indicator of smoothed Standard Deviation or by the terminology of the resulting indicator's author - the base volatility indicator.

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

Simple Max-Min channel with a slope.

The indicator helps to determine the beginning and end of trends on the basis of the slope of the "matches" lines and the color of their heads.

1...383940414243444546474849505152...115