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 Codes of Technical Indicators for MetaTrader 5 - 63

MQL5 technical indicators analyze MetaTrader 5 price charts on Forex, as well as stock and commodity markets. Indicators define trend direction and power, overbought and oversold states, support and resistance levels. Underlying mathematical models provide objective assessment of the current market state allowing traders to accept or reject trading system's signals.

You can download and launch offered indicators in MetaTrader 5. The library of indicators is also available directly from MetaTrader 5 platform and MetaEditor development environment.


The trend indicator in the form of a colored cloud using volumes in its calculations. Enhanced version of Bears and Bulls indicator. The idea is to reveal the first market impulse and estimate its duration.

MACD histogram with bars coloring according to Elder Impulse System.

ATRNorm is the normalized version of АTR. Tick volume, standard divergence and other parameters can also be used instead of АТR. The indicator represents logical development of the script. ATRNorm has been created to detect flat areas.

Trend indicator based on two RSI oscillators.

Simple trend indicator in the form of NRTR

The indicator calculates the difference between the period maximum and minimum. The period is specified in the indicator parameters.

The Momentum Technical Indicator measures the change of price of a financial instrument over a given time span.

QEMA - Quadruple Exponential Moving Average.

PEMA - Pentuple Exponential Moving Average.

Two-Line MACD. This indicator is available by default in a great deal of trading platforms. But it cannot be found in Metatrader 5.

Indicator of market instability.

Tools for monitoring spread of currency pairs

This indicator calculates last average price for a symbol and determines the trend direction, so it can be a signal to commit a trade operation.

This is a simple but very fast ZigZag with no suspended or wrong peaks. The indicator is designed for use in EAs. Peaks retrieval has been time-optimized.

Corrected Average indicator by A.Uhl (also known as the "Optimal moving average").

Exponential Moving Average - RSI Volatility-Adjusted by Jose Silva.

Exponential Moving Average - Bollinger Bands ® Volatility Adjusted by Jose Silva.

Advaptive Exponential Moving Average - ATR Volatility Adjusted by Jose Silva.

Adaptive Exponentially Smoothed Moving Average, based on StdDev indicator.

The indicator calculates perfect market entry signals, which can be used for neural network training.

Pearson correlation indicator shows the correlation between symbols.

The indicator shows the size of Highs and Lows and their values over the specified period.

This is the improved version of Price Channel indicator. Two additional price levels, trade signals and Stop Loss/Take Profit levels were added.

The indicator plots the chart of the specified symbol in a separate window.

Multi-Williams Percent Range trend indicator.

Clouds formed by the masses of moving averages of different periods.

Classic Pivot Point indicator paints pivot point and three resistance and support levels for all data points.

The indicator calculates the resistance and support lines and shows alerts when price is reached them.

The indicator creates a channel and provides the possibility to configure it with automatic tuning.

The indicator shows the use of the free Library for Custom Chart library for the automatic connection of the indicators to iCustomChart custom charts created on the basis of custom history files.

This Indicator is used for calculating trend.

The indicator draws (in a separate window) the Bollinger Bands relative to the moving average and projection of the price bars.

Moving Average Envelopes.

Simple clock displayed via the "label" graphical object (OBJ_LABEL).

Curvelinear redrawing channel.

The trend indicator that gives signals for performing deals. The indicator color depends on the market movement direction determined by the indicator position relative to the zero line.

The channel is based on the prices extreme values for a period. Central line, upper and lower channel borders values are determined by calculation of the Pivot Points used as assumed support and resistance levels.

The sum of Bears Power and Bulls Power technical indicators values averaged using Laguerre algorithm.

Simple trend indicator.

The indicator shows entry signals based on Accelerator Oscillator.