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

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

The script shows the trade volume in lots required to move the position to a desired level.

The ColorZerolagRSIOSMA indicator implemented as a sequence of candlesticks.

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

This indicator shows the support/resistance lines using price histogram.

Cloud indicator, the envelopes of which represent the Momentum oscillator values calculated for High and Low prices.

The ColorZerolagTriXOSMATrend_x10 indicator shows the ColorZerolagTriXOSMA oscillator direction from ten different timeframes.

The MultiColorZerolagTriXOSMATrend_x10 indicator shows information on current trends using the ColorZerolagTriXOSMA indicator direction from ten different timeframes.

The script controls the display of time and price scales for all open charts or only for one chart.

The indicator shows the Keltner Channel on a chart.

The Exp_ColorZerolagRSIOSMA Expert Advisor is based on the ColorZerolagRSIOSMA histogram change of direction.

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

Smoothed ColorZerolagRSI indicator rate of change represented as a colored histogram.

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

Expert Advisor which trades inside the spread in the order book.

Bollinger Bands indicator with sound/email/arrow_display alerts.

All-In-One candlestick chart.

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

This RSI oscillator analogue is calculated based on five Relative Strength Index indicators.

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

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

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

The ColorZerolagTriXOSMA indicator implemented as a sequence of candlesticks.

The Exp_ColorZerolagTriXOSMA Expert Advisor is based on the ColorZerolagTriXOSMA histogram change of direction.

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

Smoothed ColorZerolagTriX indicator rate of change represented as a colored histogram.

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

The Exp_CenterOfGravityOSMA Expert Advisor is based on the CenterOfGravityOSMA histogram change of direction.

The Exp_ColorZerolagTriX Expert Advisor enters the market when the ColorZerolagTriX indicator cloud changes its color.

This TriX oscillator analogue is calculated based on five Triple Exponential Moving Averages Oscillator indicators.

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

Cloud indicator, the envelopes of which represent the TriX oscillator values calculated for High and Low prices.

The Exp_ColorZerolagRVI Expert Advisor enters the market when the ColorZerolagRVI indicator cloud changes its color.

Expert Advisor based on the ColorZeroLAG_MA indicator change of direction.

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

The panel allows you to quickly evaluate the effectiveness of your trade strategy for a specified period of time (in the past) and for a certain magic number.

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

Shows current gain and loss for all candlesticks on the chart.

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

The indicator shows current trend direction by placing colored dots on the main chart.

1...676869707172737475767778798081...130