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

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

Indicator Zero Lag Triple Exponential Moving Average.

Indicator Tom_Demark_Moving_Average is the moving average based on Demark's statements regarding trend identification.

A simple indicator based on standard stochastic. Along with the Main and Signal lines of standard stochastic, it also draws a color histogram between these two lines.

Oscillator Slingshot displays in the chart the price momentum histogram and signal line. The probable direction of the fitire price movement is marked in the histogram with different colors.

Channel indicator Rj_SlidingRangeRj with the possibility to round the indicator levels to the required number of digits.

Rex

The indicator of probable market reversal based on the true bar value (True Value of Bar).

PDI

PDI (Price Difference) is a simple signal indicator of the price difference between the previous and the current bars. It displays as signal marks the candlesticks, on which the previous Applied price is higher than the current one by the pre-defined Price difference.

Indicator Rj_SlidingRange made in the DRAW_FILLING style as a color background, which makes it more illustrative in many situations.

Indicator Rj_RMA with the possibility to change the indicator timeframe in its input parameters.

Indicator Rj_SlidingRange with the possibility to change the indicator timeframe in its input parameters.

Unlike standard On Balance Volume calculated on Close prices only, and indicator MultiVote OBV is calculated on HLC prices, which resulted in its higher sensitivity.

MM

Oscillator MM (Market Mode) allows assessing the market state: In trend state or in cyclic state.

FIR

Indicator FIR is a symmetrically weighted filter (Finite Impulse Response Filter).

Indicator EURX displays index EUR.

EMA_With_Trend_Adjustment - a moving average with exponential smoothing and correction by its trend component.

Indicator DI_Cluster represents three indicators ADX with different parameters. Unlike standard ADX, the threshold levels of DI Cluster are not constant, but are determined by the intersections of three indicator lines. You can choose any of the three lines of standard ADX to be displayed: ADX trend strength lines themselves and line +DI or -DI.

CI

Indicator CI (Congestion Identifier). It displays within how many bars before the current one the price was within the channel formed by the Close price of the current bar +/- Delta in points. It also displays the counter value threshold level and the marks, in which the counter is above or below that level.

Indicator RoundPrice-Ext with the timeframe selection option available in its input parameters.

Cluster indicator based on article https://www.mql5.com/en/articles/1464

Indicator BykovTrend as candlesticks.

Synthetic Japanese candlesticks over the period defined in the indicator settings, calculating on each bar, based on the Bear_Bulls_Power_Candle indicator candlesticks.

Two identical trading systems (for long and short positions) based on the signals of indicator NRTR, which can be differently configured within one EA.

Indicator XPeriodCandle supplemented by Bollinger Bands, based on their candlesticks, and indicating with the bright candlestick color if the candlesticks go beyond the bands.

A candlestick-based chart based on histograms Bear_Bulls_Power calculated on the Open, High, Low, and Close timeseries of the price chart.

ZPF

ZPF (Zero Point Force) - zero point force indicator. It displays the market climate.

XMA

Indicator XMA (Digital adaptive Moving Average) is a digital adaptive moving average XMA. It calculates the moving aberage using a digital filter.

Indicator WAAB (Waddah Attar ADXxBollinger) is intended for identifying the direction and strength of the current trend. For this pupose, a combination of the signals from two indicators is used: Advanced_ADX and Bollinger Bands.

VFO

The VFO (Volume Flow Oscillator) values above zero are bullish and indicate accumulating, while those below zero indicate distributing. Divergences between the price and the indicator values may indicate a forthcoming change in the trend.

UDP

Indicator UDP (Up/Down Percentage) displays the direction of candlesticks, i.e., up/down, as a percentage over the selected period.

SS

Indicator SS (Stochastic Stack) represents a set of eight indicators Stochastic with different parameters, united in a single calculation process.

RMI

Indicator RMI (Running Median Indicator) is a moving average with the "Running Median" filtering algorithm.

PVO

Indicator PVO (Percentage Volume Oscillator) represents a momentum for the volume. It calculates the difference in the percents of large MA between two moving averages based on volumes.

MPO

Indicator MPO (Midpoint Oscillator) displays price movement without its trend component around its centerpoint. It is displayed as two lines: Price movement line and signal line. Centerline (MidPoint) is zero level of the oscillator.

Trend-following indicator LeManStop is a representative of system LeMan and displays Stop Loss levels for the existing positions in the chart. It draws two Stop Loss lines for Long and Short positions, displayed in different colors.

GB

Indicator GB (Gaussian Bands) works in the same manner as standard indicator Bollinger Bands. However, unlike the former, it performs filtering centerline and deviation lines by Gaussian method. It also has two deviation lines on each side of the centerline.

DMX

Indicator DMX (Bipolar DMI) is calculated using the standard indicator ADX. However, as compared to that, it displays data as an oscillator with a signal line, and has shorter delay.

CA

Indicator CA (Corrected Average), also known as Optimal Moving Average. The benefit of the indicator is the fact that the current value of the timeseries must exceed the current threshold that depends on volatility for the indicator line to follow the price, avoiding false signals in the trend.

ASO

Indicator ASO (Average Sentiment Oscillator) displays the general market climate.

This indicator calculates the index of a given currency, using the USD index. It is based on indicator SymbolX, but four prices are used for calculations: OHLC instead of just one Close price.

This indicator calculates the index of a given currency, using the USD index. The Close prices of six currency pairs are used to calculate the index.

1...323334353637383940414243444546...133