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

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 indicator uses analysis of values of Heiken Ashi Open and Heiken Ashi Close.

The indicator uses analysis of values of Heiken Ashi Open and Heiken Ashi Close for a selected period.

A semaphore indicator with a ZigZag.

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

The indicator draws candlesticks of a larger timeframe as color filled rectangles.

The MACD histogram drawn on the difference of two digital filters.

A one period momentum averaged by the SMA algorithm.

The ROC indicator smoothed by Laguerre filter drawn as a color histogram.

A channel build on the values of two moving averages of High and Low, drawn as a cloud.

The indicator changes the bar color to the color of the current trend calculated based on the TDI-2 custom indicator.

A system of three Moving Averages.

The indicator is drawn as a colored cloud between a price and its double averaging.

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

An indicator of trading sessions displaying bodies and shadows of resulting session candlesticks.

The indicator implements a breakthrough system using the DarvasBoxes channel.

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

A semaphore arrow indicator that shows trend change time based on the ADX indicator.

This trading system uses the BlauErgodic oscillator.

The script allows to set transparency level of the client terminal window using Windows API.

The indicator implements a breakthrough system using Donchian_Channels.

The trade sessions indicator.

The indicator implements a breakthrough system using the Renko channel.

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

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

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

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

An indicator based on the crossover of two momentums with different periods, drawn in the form of a colored cloud.

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

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

A semaphore signal indicator forming signals at the breakthrough of the dynamic price channel.

A non-normalized oscillator implemented in the form of colored icons.

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

Indicator of price change range.

The BlauErgodic indicator (William Blau's Ergodic Oscillator) with the timeframe selection option available in input parameters.

Flat determining indicator.

The indicator changes the color of the bar to the color corresponding to the current trend, which is determined using the RVI indicator.

The indicator changes the bar color to the color of the current trend calculated based on the ADX technical indicator.

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

A version of the Fisher Transform indicator implemented in the form of a color histogram.

The MACD indicator is in the form of a colored cloud and the difference between the MACD and the signal line in the form of a color histogram.

1...626364656667686970717273747576...109