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

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

The Schaff Trend Cycle indicator based on the difference between two RSI oscillators with different periods.

Creates horizontal grid lines on the current chart for price action analysis.

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

The XCCX indicator implemented as a sequence of candlesticks.

The XRSX indicator implemented as a sequence of candlesticks.

Semaphore signal indicator based on the ColorTrend_CF indicator algorithm.

Semaphore signal indicator based on the ColorTSI-Oscillator indicator algorithm.

The ColorTSI-Oscillator indicator with the timeframe selection option available in the input parameters.

The ColorStepXCCXTrend_x10 indicator shows the ColorStepXCCX oscillator direction from ten different timeframes.

The MultiColorStepXCCXTrend_x10 indicator shows information on current trends using the ColorStepXCCX indicator direction from ten different timeframes.

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

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

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

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

The Exp_ColorMaRsi-Trigger Expert Advisor is based on signals triggered by the colors of the ColorMaRsi-Trigger semaphore signal indicator.

The ColorMaRsi-Trigger indicator with the timeframe selection option available in the input parameters.

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

Functions for creating various objects and changing object properties.

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

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

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

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

The Exp_ColorJLaguerre Expert Advisor is based on the ColorJLaguerre oscillator change of position relative to the overbought and oversold levels.

The Exp_ColorJMomentum Expert Advisor is based on the ColorJMomentum oscillator change of direction.

The indicator shows Moving Averages (MA) values, difference between values and difference between MA.

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

The Exp_ColorZerolagX10MA Expert Advisor is based on the ColorZerolagX10MA moving average change of direction.

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

Indicator of price gaps between the previous Close and the current Open price.

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

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

This variant of the Moving Average indicator is calculated based on five moving averages.

The ColorZerolagMomentumOSMATrend_x10 indicator shows the ColorZerolagMomentumOSMA oscillator direction from ten different timeframes.

The MultiColorZerolagMomentumOSMATrend_x10 indicator shows information on current trends using the ColorZerolagMomentumOSMA indicator direction from ten different timeframes.

The Exp_ColorZerolagMomentumOSMA Expert Advisor is based on the ColorZerolagMomentumOSMA histogram's change of direction.

Bill Williams' fractals indicator based on the built-in Fractals indicator. The distinctive feature of this indicator is that it doesn't repaint.

Indicator shows the size of one of the three candlestick elements: upper shadows, lower shadows or bodies. It displays the current candlestick value and the daily average value for a certain element.

The ColorZerolagMomentumOSMA indicator implemented as a sequence of candlesticks.

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

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

1...118119120121122123124125126127128129130131132...183