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

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

Sequential is an automated trading system developed by Thomas DeMark.

It uses a detrender based on a Т3 filter, and the "moment" is the price at the closing of the bar.

The indicator draws levels interestingly, especially on the smaller timeframes.

Indicator for a strategy that uses CCI. When trading Woodies CCI all you need is to find Woodies CCI patterns.

The Zig Zag indicator with a sound alert on appearance of a new line on the chart.

Clearly displays the gaps in points as a colored histogram.

My version of plotting the DeMark lines, also draws channels in addition to the trend lines and targets. Added one more target (the third one defined as 1.62 of the inner extremum), added the signal cancellation when closing within the channel.

The indicator of the first price change derivative or simply trend speed and sign.

This indicator shows the trend from the smaller timeframes up to H4.

The indicator plots a moving average with a Bollinger type envelope.

The indicator generates buy and sell signals.

(Slow Adaptive Trend Line) – the «slow» adaptive trend line is calculated using a digital low-pass filter LPF-2. LPF-2 serves to eliminate the noises and market cycles with longer fluctuation periods.

Very convenient to confirm any market entry signals.

The Regression Channel is based on the Linear Regression Trend, which represents a usual trend line plotted between two points on a price chart using the method of least squares.

The Parabolic SAR was also developed by Welles Wilder for use in trending markets. The author of this indicator recommended to identify the trend first, and only after that to use the PSAR for trading with the trend.

Reference Slow Trend Line (RSTL) is a response of the SATL digital filter to the series of input prices with a delay equal to the Nyquist interval of 1/2F.

This is a high-quality ZigZag based on HiLo.

Reference Fast Trend Line (RFTL) is a response of the FATL digital filter to the series of input prices with a delay equal to the Nyquist interval of 1/2F.

The modified version of the RBCI indicator.

Perfect Commodity Channel Index. It has a certain similarity in the calculation method with the Commodity Channel Index (CCI) by D. Lambert.

Trend indicator based on the Kaufman's AMA.

The indicator contains another entry signalizer.

One of the greatly smoothing trend indicators.

As I recall, this indicator had been written by OlegVS for МТ3, for determining the flat. If the price is inside the dotted channel - flat. And MaksiGen redesigned it for МТ4.

This indicator shows when to open and when to close by drawing 2 lines.

The "Camarilla Pivots" indicator. The ideal indicator for those who like to work "by levels". It clearly shows the reversal level, support/resistance levels for the current day.

The indicator that facilitates the interpretation of the Ichimoku signals.

The indicator calculates the indices of the USD, EUR, GBP, CHF, AUD, CAD currencies and displays the index specified in the parameters in a separate window.

MACD2 generates bearish signals from three main sources. These signals are a reflection of the bullish signals - negative divergence, bearish intersection of the moving averages, bearish intersection of the center line.

The indicators that perform the chart ruling.

Linear regression is a mathematical method for determining the linear dependence between the variables. This technique is often used by analysts to identify the trend based on the time and price data.

The indicator of dynamic resistance/support level with a fixed channel.

In the case of weighted moving average, the latest data is of more value than more early data. Weighted moving average is calculated by multiplying each one of the closing prices within the considered series, by a certain weight coefficient.

The indicator shows the price points of reference.

Fast adaptive trend line is an estimate of the trend line.

The Jurik Moving Average indicator. JMA's improved timing and smoothness will astound you.

Useful for those who use the DeMark TD lines in trading. It draws TD points, plots TD lines, calculates the current values of TD lines, calculates the targets.

The indicator shows the fractals of different time periods on one chart (with different colors). Only М15, Н1, Н4, D1 are used.

The Hi/Low indicator shows how close the current value of the parameter is to the minimum and maximum values over a certain time interval.

It is not recommended to open a position when the histogram is red. If all indicators give entry signals, the final check is done according to this indicator. The histogram must be green.

1234567891011121314...53