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

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.

To post a new code, please log in or register
latest|best

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.

More experiments with the Simple ZigZag indicator. A small upgrade allows the indicator to find and mark the price consolidation areas with colored rectangles.

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

The i-CAi indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.

Variation of the SMI indicator based on the "Momentum, Direction, and Divergence" book by Blau.

The ZZLevels indicator uses the Simple ZigZag to find the boundaries of the flat, as well as the support and resistance levels.

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

The Exp_i-CAi Expert Advisor is based on change of direction of the i-CAi indicator.

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

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

Simplified version of the popular ZigZag indicator. The algorithm runs significantly faster, does not use intermediate calculation buffers, does not contain nested cycles and, therefore, does not redraw itself.

The indicator displays the breakthrough line.

Indicator of trend change.

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

1...808182838485868788899091929394...168