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

MQL4 Source Codes of Technical Indicators for MetaTrader 4 - 53

The library of technical indicators for MetaTrader 4 developed in MQL4. Regardless of the market (forex, securities or commodity market), indicators help to represent quotes in an accessible form for easy perception.

This section contains thousands of applications that analyze financial markets using different algorithms. Conventionally, they can be divided into a few categories: trend indicators, oscillators, volume indicators and so on. In addition, there are sets of indicators based on algorithms by famous financiers. For example, Bill Williams' indicators and likes of it. All of them are characterized by different parameters of reliability, efficiency, lagging and others. There are more than 2000 indicators for technical analysis: trend indicators, reversal indicators, indicators of levels, predictors, scalping indicators and many others.

latest|best

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

The Indicator Volumes displays volumes as histogram in separate window and paints the histogram in two colours.

Market Facilitation Index Indicator (BW MFI) is the indicator which shows the change of price for on

Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the bal

Fractals indicator it is a series of at least five successive bars, with the highest HIGH in the middle, and two lower HIGHs on both sides.

Envelopes technical indicator is formed with two Moving Averages one of which is shifted upward and another one is shifted downward.

Demarker indicator is based on the comparison of the period maximum with the previous period maximum.

Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Improved period converter support real-time refreshing, low CPU cost and other features.

ZigZag indicator tracks and connects extreme points of the chart, the distance between these points.

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

The Relative Strength Index (RSI) technical indicator is a price-following oscillator that ranges between 0 and 100.

Parabolic SAR Indicator was developed for analyzing the trending markets.

Moving Average of Oscillator is the difference between the oscillator and oscillator smoothing.

The Moving Average Indicator shows the mean instrument price value for a certain period of time.

The Momentum indicator measures the amount that a security’s price has changed over a given time span.

Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator.

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

Heiken Ashi - Custom Indicator as Candlesticks Example.

Commodity Channel Index (CCI) indicator measures the deviation of the commodity price from its average statistical price.

Bulls power oscillator (Bulls Power, Bulls) - trend following indicator.

Bears power oscillator (Bears Power, Bears) - trend following indicator.

Bollinger Bands ® Indicator (Bollinger Bands, BB) is plotted a certain number of standard deviations

Awesome Oscillator (AO) is a 34-period simple Moving Average, which is subtracted from the 5-period simple Moving Average.

Average True Range Indicator (ATR) is an indicator that shows volatility of the market.

Alligator indicator is a combination of Balance Lines that use fractal geometry and nonlinear dynamics.

Accumulation/Distribution Indicator is determined by the changes in price and volume.

Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Example: Moving Average indicator filling by different colors

1...4647484950515253