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

icon

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.

Submit your code
latest | best

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.

PFE

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.

Trading system based on AroonOscillatorSignAlert indicator signals.

The Exp_ADXDMI trading system based on the signals of the ADXDMI oscillator.

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

Semaphore arrow signal indicator based on the AroonOscillator oscillator leaving the overbought and oversold areas, which features alerts, sending emails and push-notifications to mobile devices.

Vertical histogram with distribution of Highs.

Vertical histogram with distribution of Lows.

Vertical histogram with distribution of extreme prices.

Vertical histogram with distribution of prices.

The indicator implements a breakout system using the PChannel_System channel, with the possibility to round the channel levels to the required number of orders and with the display of the latest channel breakout levels in the form of price labels.

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

Indicator of intraday volatility with no lag.

1...8990919293949596979899100101102103...176