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

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 price label added to the right of the price with adjustable parameters.

The indicator plots a price grid of levels rounded up to several digits.

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

NRTR is a trend indicator calculated using the CLOSE prices.

An example of using the MasterWindows library for creating a game trade panel.

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

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

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

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

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

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

An example of using the MasterWindows library for creating a trade panel.

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

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

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

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

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

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

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

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

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

The Price Channel indicator with the color filling inside the channel, drawn as a cloud, with the display of the last values as price labels and the possibility to round the channel levels up to a required number of digits, and a price grid with these rounded values.

The Price Channel indicator with the background filling inside the channel.

The Price Channel indicator calculates the highest high and lowest low for the price values of bars.

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

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

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

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

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

A trading system based on the signals of the 3LineBreak indicator.

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, and a price grid with these rounded values.

The Relative Vigor Index oscillator developed based on the article "Using The Fisher Transform" by John Ehlers that was published in November 2002 in the Technical Analysis Of Stock & Commodities magazine.

AdaptiveRVI is the Relative Vigor Index oscillator that adapts to the constantly changing marker cycles of a real financial asset.

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

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

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

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

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

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

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

1...242526272829303132333435363738...104