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

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

This variant of HighestLowestRange normalized oscillator is calculated based on five HighestLowestRange indicators.

The Exp_HullTrendOSMA Expert Advisor is based on the reversal of the HullTrendOSMA histogram direction.

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

The Exp_iAnchMom Expert Advisor is based on the reversal of the iAnchMom histogram direction.

The Exp_Ichimoku_Osc Expert Advisor is based on the reversal of the Ichimoku_Osc signal line.

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

The Exp_i_Trend Expert Advisor is based on the signals generated by the i_Trend oscillator.

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

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

Three Chaikin Oscillator indicators from three different timeframes displayed on the same chart.

This indicator is an example of smoothing the Bulls Power indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Bears Power indicator timeseries by filtering high-order harmonics.

Three Force Index indicators from three different timeframes displayed on the same chart.

This indicator is an example of smoothing the Larry Williams' Percent Range indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Chaikin Oscillator indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the DeMarker indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Force Index indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Accumulation/Distribution indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the On Balance Volume indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Moving Average indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Moving Average indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the TriX indicator timeseries by filtering high-order harmonics.

This indicator is an example of smoothing the Momentum indicator timeseries by filtering high-order harmonics.

The Exp_i-KlPrice Expert Advisor is based on the i-KlPrice histogram breaking through the overbought and oversold levels.

The Exp_i-BandsPrice Expert Advisor is based on the i-BandsPrice histogram breaking through the overbought and oversold levels.

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

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

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

The Exp_DecEMA Expert Advisor is based on the reversal of the DecEMA moving average direction.

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

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

The Exp_ColorHMA Expert Advisor is based on the reversal of the ColorHMA moving average direction.

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

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

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

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

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

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

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

1...656667686970717273747576777879...133