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

icon

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.

Submit your code

The McGinley Dynamic indicator was developed by John McGinley and outlined in the Market Technicians Association's "Journal Of Technical Analysis" in 1991. The purpose of this indicator is to address flaws found in conventional moving averages, such as price separation and whipsaws. The result is a remarkable indicator that follows the average price of an instrument while adapting to current market speeds.

Indicator that shows the current estimated state of the market based on a correlation of 3 Moving Averages.

The Dynamic Momentum Index (DMI) is a variable term RSI. When default values are used, the RSI term varies from 3 to 30. The variable time period makes the RSI more responsive to short-term moves. The more volatile the price is, the shorter the time period is. It is interpreted in the same way as the RSI, but provides signals earlier.

ZigZag separate is a MetaTrader 5 version of one indicator that was floating around the net as a wonder indicator for MetaTrader 4.

Fractal Adaptive Moving Average Technical Indicator (FRAMA) was developed by John Ehlers. This indicator is constructed based on the algorithm of the Exponential Moving Average, in which the smoothing factor is calculated based on the current fractal dimension of the price series. The advantage of FRAMA is the possibility to follow strong trend movements and to sufficiently slow down at the moments of price consolidation.

This version extends the Instantaneous Trend Line indicator with a sort of bands to make it easier to spot trend change and to filter out some false signals that can be produced if only the slope of the ITL indicator is takes for a signal. And it also differs from the original in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.

This version differs from the original Instantaneous Trend Line in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.

An oscillator of market movement, mood and trend.

A set of thirty popular candlestick patterns.

The indicator draws candlesticks in a separate window in the form of a histogram from the zero line.

A moving average based in High and Low prices.

The indicator searches for divergences and displays them on the chart of the signal line of the custom MACD indicator.

The indicator searches for divergences and displays them on the chart of the custom MACD indicator.

Geometric Mean Moving Average is a simple moving average calculated by the geometric mean method.

RSI+CCI in one window.

Colored Bollinger Bands

The indicator searches for divergences and displays them on the chart of the custom AO indicator.

ZeroLagMACD is an MACD version, which has a much smaller lag compared to the classic MACD.

Zero Lag is a modified EMA.

WI

The WI oscillator indicator.

VMA

VMA is a volatility based dynamic MA.

Square Weighted Moving Average.

RWI

RWI (Random Walk Index)

Median MA is a moving average, which is calculated using the median price for a given period.

A moving average drawn as candlesticks on a chart.

Logarithmic regression channel.

Kurtosis is an indicator of market sentiment.

The indicator searches for a sequence of candlesticks on a chart and marks bullish and bearish sequences.

The Difference indicator shows the difference between the current prices and prices as of N periods ago.

A polynomial regression channel.

Wilson Relative Price Channel.

Classic MACD based on Adaptive Moving Average.

The Asymmetric Trend Pressure indicator shows the trend direction and strength line. It can additionally show the bullish and bearish components of the trend.

The Advance Trend Pressure oscillator shows the trend direction and strength line. It can additionally show the bullish and bearish components of the trend.

The indicator displays a Moving Average with bullish and bearish areas.

A modification of the "Custom Moving Average" indicator: now the line color can be passed in input parameters.

The ZScore indicator shows relative price deviation from its average value.

Standard RSI on the price chart.

An Alligator based on the VAMA indicator.

A simple Moving Average of volumes.

1...464748495051525354555657585960...133