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

MQL4 Source Codes of Technical Indicators for MetaTrader 4 - 13

icon

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.

Submit your code

A modified version of the FlatTrend indicator, shows the beginning and the end of a flat.

Relative Strength Index technical indicator.

The Ikarakatica indicator. It shows when to buy and when to sell.

This indicator version was created using the code for Omega, written by John Ehlers

Example of an equity indicator based on the market profile

Three-Line Break charts. This method has been described by Steve Nison in the book "Japanese Candlestick Charting Techniques". "Three-Line Break" combines the qualities of the "tic-tac-toe" charts and the standard line charts or bars.

A version of the Stochastic located right in the price window.

The Standard Deviation Channel is plotted on the basis of the Linear Regression Trend.

Another version of determining the pivot point of the next day.

The ADXm indicator, unlike the traditional one, allows to see the positive and negative waves of the trend. The method for working with this indicator is the same as with the traditional one.

The indicator shows when to sell and when to buy. But it is not so simple.

Quite interesting method for plotting a channel. Despite the obvious plotting primitivism, it can be useful during the flat level analysis (for example, if you had no access to the terminal in a while, and it is necessary to assess the past events quickly).

The indicator displays the channel.

Displays the probable direction of the price movement in future.

Paints the bars in the color corresponding to the current trend. Based on ADX.

Displays the High and Low price for the specified number of bars.

The RSI based on the MA values. Not as twitchy.

The chart layout in X-points reversal.

This indicator is based on the first version of Sidus trading method. It shows market entry points.

The indicator is replotted when a vertical line is moved.

Splits the chart by horizontal levels after a specified period.

The Past regression deviated indicator.

The indicator plots trend lines based on the two last extremums.

The indicator displays the Baryshpolets channels.

The ASCTrend is the program that determines the most probable direction of the market along with the optimal stops. The primary purpose of the ASCTREND is to determine the trend objectively.

The market volatility indicator.

This version of the indicator combines 3 TrendStrength.

The indicator used to determine the global trend.

This indicator is created to determine the trend and its direction.

Here, the trail line is used instead of the signal line. Trail is the line that is distanced from the current price no more than the trailing length.

The chart contains the main line (the difference between the fast EMA and the slow EMA, applied to the Ticker line) and the signal line (obtained by applying the SMA to the main line).

It is calculated as the difference between two simple moving averages: SMA(5) and SMA(34). Type of the chart: histogram with green and red colored bars.

Two options of the calculation, which creates the Lagrange polynomial based on the reference points.

It is suitable for those who are too lazy to calculate the daily levels.

The indicator of the famous trader Korykin. It helps to enter inside the channel.

Some people think that most indicators, such as: MACD, RSI, AO, AC, are delayed and not convenient to work with. But the MaksiGen KaHaJI ckaJIneP allows to earn 10 points every day persistently.

The result - receive not only the Murray levels on which the pivot points are based, but also their current statistical significance...

Modified LSMA_In_Color indicator. Added: usage of the applied price.

This is an advanced version of RSI. Laguerre converts the signals, so that low-frequency components lag much more that the high-frequency ones.

Trend indicator with a multitude of settings. Displays the direction (red) and strength (blue) of the trend as a two-colored histogram. The main signals are the crossing of the zero line, reaching a new high/low, divergence.

1...67891011121314151617181920...61