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

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 DecEMA indicator with the timeframe selection option available in the input parameters.

The Exp_CyclePeriod Expert Advisor is based on the reversal of the CyclePeriod non-normalized oscillator direction.

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

The Exp_CronexCCI EA is based on signals generated by the CronexCCI oscillator.

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

The Exp_CoppockHist Expert Advisor is based on the reversal of the CoppockHist oscillator direction.

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

The Exp_ColorXdinMA Expert Advisor is based on the ColorXdinMA moving average change of direction.

The Exp_ColorXXDPO Expert Advisor is based on the ColorXXDPO oscillator change of direction.

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

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

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

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

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

The ColorSchaffMomentumTrendCycle indicator implemented as a sequence of candlesticks.

The ColorSchaffTrendCycle indicator implemented as a sequence of candlesticks.

The ColorSchaffTriXTrendCycleCandle indicator implemented as a sequence of candlesticks.

The ColorSchaffRSITrendCycle indicator implemented as a sequence of candlesticks.

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

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

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

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

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

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

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

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

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

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

Camarilla Equation Modified plots lines to the right of the chart.

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

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

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

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

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

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

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

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.

1...434445464748495051525354555657...109