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

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

Indicator to display existent and emerging harmonic chart patterns.

The Range Action Verification Index indicator implemented as a histogram of strength and direction of the current trend.

The Exp_CandlesticksBW Expert Advisor based on signals of the CandlesticksBW indicator.

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

The indicator is an example of smoothing a time series of the OsMA indicator by filtering harmonics of higher order.

The indicator is an example of smoothing a time series of the RVI indicator by filtering harmonics of higher order.

The indicator is an example of smoothing a time series of the ADX indicator by filtering harmonics of higher order.

The i-CAi indicator that fills the chart space with a colored background and displays the most recent value as a price label with the possibility to round the channel levels up to a required number of digits, as well as displays a price grid with those rounded values.

The indicator colors the candlesticks according to B. Williams.

Semaphore signal indicator based on the relative smoothed rate of price change.

The indicator represents the derivative of the second averaging of the financial asset price, increased a hundred times.

The Exp_PPO_Cloud EA is based on the signals generated by the PPO_Cloud oscillator.

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

The i-CAiChannel_System_Digit indicator with the timeframe selection option available in input parameters.

Oscillator that represents the relative smoothed rate of price change.

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

This library allows to automate the process of connecting to a trade server after the "Account disabled" error occurs.

The Exp_PFE_Extr breakout trading system based on the signals of the PFE oscillator.

The MFIdivCandle indicator. Colors the candles based on the MFI oscillator.

The WPRdivCandle indicator. Colors the candles based on the WPR oscillator.

The Exp_PFE trading system based on the signals of the PFE oscillator.

The RSIdivCandle indicator. Colors the candles based on the RSI oscillator.

The StochCandles indicator. Colors the candles based on the Stochastic.

The indicator is the development of the idea of using the Normalized Volumes.

The breakthrough trading system based on the signals of the i-CAiChannel_System_Digit indicator.

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

The i-CAi_Digit indicator with the timeframe selection option available in input parameters.

Semaphore signal indicator based on the DSSBressert indicator algorithm.

Oscillator with calculations using an algorithm similar to Kaufmann's AMA.

The ZZ Color Retracement based on the Simple ZigZag indicator. In addition to the functionality of the base indicator, the Color Retracemnt analyzes the length of wave movements, highlighting the longer impulse movements in blue and the shorter retracements in red.

The i-CAiChannel indicator with the timeframe selection option available in input parameters.

Trading system based on the signals of the i-CAi_StDev indicator.

The indicator implements a breakthrough system using the i-CAiChannel channel.

Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.

The Envelopes indicator with the use of the i-CAi indicator algorithm.

The i-CAi indicator displays the most recent value as a price label with the the possibility to round the channel levels up to a required number of digits.

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

The Exp_SMI_Correct Expert Advisor is based on the SMI_Correct indicator color change.

The indicator plots price channel, Fibonacci levels and Gann fan based on the latest ZigZag peaks.

The i-CAi_StDev indicator with the timeframe selection option available in input parameters.

1...535455565758596061626364656667...141