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

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

Draws 96 line MAs with only 100 lines of code (uses CMyBuffer class).

The indicator prints the time to close of the current timeframe, if it less than H1, it also prints the time to close of the current hourly bar.

It's an oscillator of the overbought/oversold market conditions. It can also be used as the Momentum indicator. Triple smoothing is used for removing the cyclic components in price movements with the period less than that of TRIX.

This oscillator measures the ratio between the sum of positive increments and sum of negative increments for a certain period.

TEMA can be used instead of traditional moving averages. It can be used for smoothing price data, as well as for smoothing other indicators.

It is used for smoothing price series and is applied directly on a price chart of a financial security.

The advantage of FRAMA is the possibility to follow strong trend movements and to sufficiently slow down at the moments of price consolidation.

An indicator lets you specify the number of bars separately before and after the current High / Low (fractal) can.

The Bulls Power Indicator measures the balance of the bulls strength.

This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.

The Zigzag indicator is a series of sections connecting significant tops and bottoms at the price plot.

The Williams’ Percent Range Indicator (%R) is dynamic technical indicator, which determines whether the market is overbought/oversold.

The Williams' A/D indicator is the accumulated sum of positive "accumulational" and negative "distributional" price movements. Divergences between the indicator and the price are a signals.

The Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves.

The Volumes indicator shows volumes with different colors depending on the volume changes.

The Ultimate Oscillator was developed by Larry Williams. It uses the averaging of three oscillators with different periods.

The Stochastic Oscillator compares where a security’s price closed relative to its price range over a given time period.

The Standard Deviation (StdDev) measures the market volatility. This indicator charactrizes the scale of price changes relating to the Moving Average.

The main point of the Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price.

The Relative Strength Index Indicator (RSI) is a price-following oscillator that varies between 0 and 100.

The Price Rate of Change (ROC) reflects this ondulatory movement like an oscillator, measuring the difference in prices in a certain period. ROC grows if prices grow and drops along with them. The more the price change is, the more ROC changes.

The Price and Volume Trend Indicator(PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.

The Price Channel Indicator draws the price channel, its upper and lower boundaries are determined by maximal and minimal prices for a certain period.

The Parabolic SAR Indicator was developed for analyzing the trending markets.

The Moving Average of Oscillator (OsMA) is the difference between the oscillator and its smoothed value.

The On Balance Volume Indicator (OBV) is a momentum technical indicator that relates volume to price change.

The Momentum Technical Indicator measures the amount that a security’s price has changed over a given time period.

The Money Flow Index (MFI) is the technical indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.

The Mass Index is developed to catch the trend reversal points. It is based on changes between maximum and minimum prices. If the amplitude gets wider, the mass index grows; if it gets narrower, the index gets smaller. The mass index was created by Donald Dorcy.

The ColorCandlesDaily indicator draws candles with different colors depending on the day of the week.

The Market Facilitation Index (BW MFI) is the indicator which shows the change of price for one tick.

The Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a price.

The Indicator Ichimoku Kinko Hyo is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling.

The Heiken-Ashi indicator is looks like the candlestick chart, but it has some difference.The advantage of the Heiken-Ashi charts is a simple trend determination, the upward trend candles are blue,the downward trend candles are red.

The Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the Balance Lines (Smoothed Moving Average).

The Fractal is one of 5 indicators of Bill Williams’ trading system, which allows to detect the bottom or the top.

The Force Index Indicator was developed by Alexander Elder. This index measures the Bulls Power at each increase, and the Bears Power at each decrease.

The Envelopes Indicator is formed by two Moving Averages, one of them is shifted upward and another one is shifted downward. The selection of optimum relative number of band margins shifting is determined with the market volatility: the higher the latter is, the stronger the shift is.

The Detrended Price Oscillator eliminates the trend effect of price movement. This simplifies the process of finding out cycles and overbought/oversold levels.

The Demarker Indicator (DeM) is based on the comparison of the period maximum with the previous period maximum. When the indicator falls below 30, the bullish price reversal should be expected. When the indicator rises above 70, the bearish price reversal should be expected.

1...125126127128129130131132133