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 JS-Stoh-BB-RSI indicator with the timeframe selection option available in the input parameters.

The Exp_ColorZerolagJJRSX Expert Advisor enters the market when the ColorZerolagJJRSX indicator cloud changes its color.

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

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

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

This indicator shows price heatmap using price histogram.

Simple TP/SL panel for MetaTrader 5.

This indicator shows the condition of the trend using the BSI Indicator.

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

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

This variant of JJRSX oscillator is calculated based on five JJRSX indicators.

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

Semaphore signal indicator triggering when the J2JMA moving average changes direction.

The J2JMA indicator implemented as a sequence of candlesticks.

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

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

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

Semaphore signal indicator using the trend filter algorithm based on moving averages.

The Exp_Instantaneous_TrendFilter Expert Advisor enters the market when the Instantaneous_TrendFilter indicator cloud changes its color.

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

Indicator of daily extremum zones. Flexible parameter setting is allowed.

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

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

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

The Exp_i-AMMA Expert Advisor is based on the reversal of the i-AMMA moving average direction.

The Exp_ColorZerolagHLR Expert Advisor enters the market when the ColorZerolagHLR indicator cloud changes its color.

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.

1...404142434445464748495051525354...109