Watch how to download trading robots for free
Find us on Telegram!
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 - 101

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 indicator shows the current levels and direction of the Supertrend indicator on multiple timeframes.

Indicator HighsLows_HTF_Signal shows a trend direction or a signal for performing a deal generated by the HighsLowsSignal indicator at the chosen bar as a graphic object with colored indication of trend or deal direction and sends alerts or audio signals in case of a market entry moment.

The indicator shows information on the current trend using the values of the DynamicRS_C indicator with a fixed timeframe.

An indicator of the series of simple indicators without averaging.

An indicator of the series of simple indicators without averaging. It is implemented as a channel with a fixed width.

The indicator is drawn as a colored cloud between the lines of Kaufman's AMA (Adaptive Moving Average) indicator and the price.

Indicator displays different candlestick patterns on chart. It is possible to change colors and disable alerts.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the colors of the clouds of the DigitMacd indicator.

The Exp_DigitMacd EA is based on the signals generated by the DigitMacd oscillator.

This indicator is an oscillator based on the averaged difference between the SATL digital filter and the Close price.

The indicator is drawn as a colored cloud between the lines of a slow digital filter and the price.

An oscillator from an averaged difference between the FATL digital filter and the Close price.

A colored cloud formed by the lines of the FATL and SATL digital filters.

The indicator is drawn as a colored cloud between the lines of a fast digital filter and the price.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the values of the StepMA_Stoch_KV1 indicator.

The MultiHighsLowsSignal indicator shows information on active trends using the values of seven HighsLowsSignal indicators from different timeframes.

A trend indicator of the series of indicators without averaging.

The indicator implements a breakthrough system using a channel drawn on extrema for a period.

A candlestick chart, all the Open prices of which are shifted to zero.

The indicator shows inverted chart for better short trading.

This is Bollinger Bands %b indicator for MetaTrader 5.

The indicator is designed to show how the seven major currencies have moved against the US dollar.

The indicator counts Bull and Bear candles in Bar_Period bars and calculates percent.

Fast FrAMA, in contrast to the version from MQL5 suite, has more wide applied price constant choose and, what's the main difference, calculation speed is increased by a factor of 30 to 100.

This technical indicator detects constant price zones and draws resistance and support lines.

Advanced ADX indicator.

Example code on how to draw an horizontal line for maximum and minimum prices of the last 2 years.

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions.

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

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

The MinusDi indicator processed through the Laguerre filter.

The PlusDi indicator processed through the Laguerre filter.

A semaphore signal indicator determining the moments of a directional price change on several bars, the number of bars is specified in the indicator input parameters.

The StepMA_Stoch_KV1_Signal indicator shows information on the current trend using the values of the StepMA_Stoch_KV1 indicator with a fixed timeframe.

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

A non-normalized oscillator implemented in the form of a seven-color histogram.

The indicator shows fractals of different time periods on one chart.

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

The indicator shows the minimum price for the period specified in the input parameters of the indicator, taking into account the timeframe, in which the price was searched for.

1...949596979899100101102103104105106107108...133