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

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

The candlesticks are colored in red, green and blue colors depending on a trend direction (Moving Average and MACD overall values).

The channel based on the price percentage deviation from the previous value of the channel middle line.

Nonlagdot is the supply and demand indicator that calculates a possible trend considering market forces domination.

Trend indicator. Trend reversal is calculated by the number of candlesticks set in the indicator input parameters.

The indicator displays colored candlesticks depending on the current trend and considering Fibonacci levels correction and also gives alerts or audio warnings in case of a trend change.

The indicator displays the crossing points of RSI (Relative Strength Index) indicators belonging to various periods.

CStochasticOnArray class is designed for calculation of Stochastic indicator values on indicator buffers. The example of use of the class is provided.

Trinity-Impulse indicator shows market entries and periods of flat.

Vertical time grid with three hours step.

The indicator displays the horizontal line that sets the signal actuating level.

Vertical time grid with eight hours step.

CMACDOnArray class is designed for calculation of MACD (Moving Average Convergence/Divergence) values on indicator buffers. The example of use of the class is provided.

Vertical time grid with four hours step.

The indicator builds a candlestick chart consisting of floating spread current values in online mode.

CADXWOnArray class is designed for calculation of ADXW (Average Directional Movement Index Wilder, ADX Wilder) values on indicator buffers. The example of use of the class is provided.

CADXOnArray class is designed for calculation of ADX (Average Directional Movement Index) values on indicator buffers. The example of use of the class is provided.

The indicator allows to work with changing in real time and mirror reversed (1/X) trading instrument.

Vertical time grid with one day step.

CATROnArray is designed for calculation of ATR (Average True Range) values on indicator buffers. The example of use of the class is provided.

Vertical time grid with one week step.

Eight RSI (Relative Strength Index) technical indicators in one chart.

CMAOnArray class is used for Moving Average calculation on indicator buffer's data. The example of use of the class is provided.

Vertical time grid with one month step.

The hybrid of digital and analog filters that displays larger timeframe values at a smaller one in a minimized way.

Vertical time grid with one year step.

The hybrid of digital and analog filters that displays its larger timeframe values at a smaller one.

Symmetrical normalized oscillator.

The trend indicator made as NRTR (Nick Rypock Trailing Reverse).

ZigZag allowing to build Fibo fans on the last two ZigZags.

Negative Volume Index (NVI) draws a connection between the volume downfall and financial instrument price change.

Multi-currency Expert Advisor functional module for organization of an access to any historical data with a request result processing.

Positive Volume Index (PVI) draws a connection between the volume rise and financial instrument price change.

Modification of Bollinger Bands ® trend indicator.

Murrey Lines with calculation at all bars and the possibility to choose a timeframe for lines calculation.

Universal moving average that displays the values from the higher timeframe.

Vertical Horizontal Filter (VHF) shows, if there is a trend or a flat

The typical normalized oscillator varying within the range -100 to +100 and provided with a signal line.

МА combination is based on the digital filter and regressive Moving Average.

This oscillator displays its values considering RSI (Relative Strength Index) technical indicator.

DeMarker indicator with the possibility to select smoothing algorithms that is made in color with dynamically changing oversold and overbought levels.

1...121122123124125126127128129130131132133134135...141