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

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.

To post a new code, please log in or register
latest|best

Rapid RSI with adaptive T3 price pre-filtering

This indicator calculate angle of averages using ATR-approximation.

Absolute strength of averages. It is upgraded to use the possible 18 types of averages in calculation.

Simple visualization of Aroon oscillator.

RSI that is based on Directional Movement with added filtering and PSAR

This is a trading sessions indicator.

This indicator shows vertical and horizontal lines that you can set in different ways.

Candle Timer shows the time remaining until the end of the candle.

Multi pass averages MetaTrader 5 version is similar to multi weighted MA but this one allows the additional 16 types of averages instead of using just LWMA.

This is a Ehlers inverse fisher transform with an addition of choices of different rsi calculations that can be used.

Gaussian Filter for apply to other indicators too.

Super trend indicator with 18 possible averages for calculation.

Super trend indicator that uses hull average for calculation.

Draws equidistant horizontal lines.

RSI that is intended to be used as a filter.

The CCI pre-filtered indicator with an addition of 18 possible types of averages that can be used for pre-filtering.

Added the filled array for overbought and oversold zones.

The T3 version of Velocity

Ron Black's swing line indicator for MetaTrader 5 version.

Jurik velocity ("smoother moment") with added choice of prices.

Averages indicator, which contains 18 types of averages available.

This is a volume weighted Wilder's DMI (the real ADX).

MACD with possibility to choose between tick volume and real volume.

You can choose if you wish to use a real volume or the ticks volume.

A variation of Hull moving average that allows speed adjusting of the HMA.

The widely known Keltner Chsnnel Oscillator in the new visual version .

Parabolic SAR that avoids some of the problems of existing PSAR-indicators and calculates the values correctly.

This is an auto-correlation version of Spearman rank indicator.

Keltner channel with some additional options

This is the Leader of the MACD as described by Giorgos E. Siligardos.

There are some additions in this indicator compared with MetaTrader 4-version.

A version that adds some averages not supported by built in standard types to the collection of averages in one single file.

It is a DT oscillator as described by Robert Miner with some additional features.

The upgraded version of Stochastic without repainting.

Indicator is already multi time frame version with alerts included.

Three T3s calculated: of high (upper line), close (middle line) and low (lower line).

MACD variation that uses Nonlag MA.

A simple indicator that shows the high and the low of desired time frame on a current chart.

A stochastic indicator with a twist: it is calculating a stochastic, and then a stochastic of that stochastic.

It is made more up-to-date and multi time frame option added.

1...616263646566676869707172737475...150