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

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 indicator is based on the strategy described in the book "Mastering the Trade" by John Carter.

The VKW_Bands_Modify_DeMarker with the timeframe selection option available in the input parameters.

The indicator for determining the time when the pending orders should be placed, using the ColorMETRO_DeMarker oscillator.

The VKW_Bands_Modify with the timeframe selection option available in the input parameters.

Semaphore signal indicator based on the METRO_DeMarker indicator cloud color change algorithm.

Semaphore signal indicator based on the METRO indicator cloud color change algorithm.

The Exp_ColorBullsGap Expert Advisor based on signals of the ColorBullsGap indicator.

The Exp_ColorBearsGap Expert Advisor based on signals of the ColorBearsGap indicator.

The VKW_Bands_Modify indicator implemented as a sequence of candlesticks.

Trading system based on the signals of the LeManTrendHist indicator.

The LeManTrendHist with the timeframe selection option available in the input parameters.

The LeManTrend implemented as a histogram of the smoothed difference between its signal lines.

Semaphore signal indicator based on the LeManTrend indicator algorithm.

Semaphore signal indicator based on the VolatilityQuality indicator algorithm.

The ColorBulls with the timeframe selection option available in the input parameters.

The ColorBears with the timeframe selection option available in the input parameters.

The indicator displays the price gaps of the candlestick chart of the ColorBearsCandle.

The indicator displays the price gaps of the candlestick chart of the ColorBullsCandle.

Trading system based on the signals of the ColorBulls indicator.

Trading system based on the signals of the ColorBears indicator.

Trading system based on the signals of the VolatilityQuality indicator.

The VolatilityQuality with the timeframe selection option available in the input parameters.

Unnormalized oscillator used as a trend identifier.

The ColorBulls indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the ColorBulls indicator algorithm.

The ColorBears indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the ColorBears indicator algorithm.

A usual Bears Power with the option of selecting Open, Close, High, Low price type for calculation as a colored histogram.

A usual Bulls Power with the option of selecting Open, Close, High, Low price type for calculation as a colored histogram.

The indicator draws three pairs of the Bollinger Bands with a default standard deviation rate of 2, 3 and 4, respectively. Modified to accept all Bollinger Bands parameters.

Price(%)Range is the indicator for the MetaTrader 5, which calculates the price movement based on percentage High (Highest) and Low (Lowest) Price on 100 bars.

BB_OsMA indicator is the OsMA indicator in the form of spheroid, with a deviation as the upper and lower bands.

The indicator displays the pivot level, support and resistance levels.

Semaphore signal indicator based on the ColorMETRO_Stochastic indicator color change algorithm.

The VKW_Bands_Modify_Stochastic with the timeframe selection option available in the input parameters.

The indicator for determining the time when the pending orders should be placed, using the ColorMETRO_Stochastic oscillator.

Semaphore signal indicator based on the ColorMETRO_WPR indicator color change algorithm.

The ColorMETRO_WPR with the timeframe selection option available in the input parameters.

Trading system using the ColorMETRO_WPR indicator.

Indicator of the oscillator type, which displays its values based on the WPR technical indicator.

A semaphore signal indicator based on crossovers of the lines of the Digital_CCI_Woodies indicator.

Trading system using the Digital_CCI_Woodies indicator.

1...404142434445464748495051525354...115