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

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

Correlation ratio.

The indicator calculates % of growth or drop towards CLOSE. It is written via use of object-oriented programming and can be easily integrated into any Expert Advisor or other indicator.

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

The MACD Indicator, in which the price series is replaced by the series of values of the iRSI technical indicator. It is drawn in the form of a colored cloud.

The MFI oscillator with the timeframe selection option available in input parameters.

The classic CCI with the colored signal levels. For the moments of time, when the CCI indicator is in oversold and overbought zones, there are change of the indicator color corresponding to the trend direction. The growing trend colors the indicator in lettuce green, the falling into the red one.

Unlike ParabolicSAR this indicator is continuous and more precise. Indicator's calculation is also very easy.

A colored cloud formed by two RSI oscillators with different timeframes.

A colored cloud formed by two moving averages with different timeframes.

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

Indicator Directional Trend Index from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram.

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

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

Larry Williams' Accumulation/Distribution indicator is an accumulated sum of "accumulative" and "distributive" price movements.

The i-AMMA indicator with the timeframe selection option available in input parameters.

The indicator draws fractals with the bar number indication option available for determining a fractal in input parameters.

The indicator displays "squatter" fractals with regard to volumes.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the CronexRSI indicator.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the CronexMFI indicator.

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

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

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

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

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

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

The Exp_ColorZerolagStochs EA is based on the signals generated by the ColorZerolagStochs oscillator.

The MACD Indicator, in which the price series is replaced by the series of values of the MFI technical indicator.

The Exp_JBrainTrend1Stop EA is based on the signals of the NRTR indicator JBrainTrend1Stop.

This trading system uses BlauHLM oscillator.

The Exp_XPVT is based on the signals generated by the XPVT oscillator.

The Exp_CronexRSI is based on the signals generated by the CronexRSI oscillator.

The Exp_CronexMFI is based on the signals generated by the CronexMFI oscillator.

The robot opens two positions, profits of which overlap each other, and waits for a profit.

System of receiving information concerning opened positions' current state, account, etc., as well as automatic notification about operations via ICQ.

The Exp_ExchangePrice EA is based on the signals of the ExchangePrice trend indicator.

The Exp_MaByMa EA is based on the signals of the MaByMa trend indicator.

The Exp_TSI_DeMarker EA is based on the signals of the TSI_DeMarker trend indicator.

The Exp_SlopeDirectionLine EA is based on the signals of the SlopeDirectionLine trend indicator.

The Exp_Karpenko EA is based on the signals generated by Karpenko oscillator.

The Exp_TSI_WPR EA is based on the signals generated by the TSI_WPR oscillator.

1...606162636465666768697071727374...115