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

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

The indicator draws the charts of the euqity and balance basing on the minute history. In such a manner you get more authentic picture of maximum rises and drawdowns.

An indicator that allows to see the "larger" periods (for example, half-yearly or yearly).

The indicator line sharply changes its direction at the critical moments. It helps to identify the beginning of the trend.

The indicator calculates the correlation of the currency pairs.

The indicator of the Keltner's channel.

A standard ADX indicator with time frame setting.

An indicator of group moving. It shows the difference between two MAs in a separate window.

Judging by the code of indicator, it calculates the difference between the maximum maximums and minimum minimums of prices of the candlesticks for the last 20 bars (parameter). The result is displayed in points.

Extrapolator is a result of my long-term research in the area of the Timeseries Forecasting.

It shows where to buy and where to sell via the arrows. If a trend occurs then it will bring profit, if there is no trend, there will be no profit.

Another Fibo indicator.

Colored ОsМА, and ОsМА that shows the divergences.

Another indicator that shows the tick chart, it would be useful for the pipsers. It has some features.

The divergence of RSI, the continuation of the divergence topic.

It arranges the stop levels depending on the price and ATR.

Alert indicator that allows to move the signal via the mouse.

The indicator has the informative character.

New version of famous and simple indicator created by Joe DiNapoli. It is different than rest of this type indicators, because it could count and display overbought and oversold levels.

Visual and Audio alerts when reversal or continuation candle patterns occur.

The indicator writes the history to the CSV file.

It is calculated as the moving average of the values of the internal bars strength.

The WKBIBS indicator is a new generation oscillator with combined functions of two indicators WKB and IBS.

The «Madlen» lines are similar to the lines of support and resistance of horizontal or trend lines by their application.

Indicator Indexes_v4. It shows the motion pattern of two or more indexes on a single chart.

The indicator draws the dollar index on the chart. The indicator is intended to simplify the charts analysis.

Indicator MultiStrend. It works only with the Supertrend indicator.

This indicator is an adaptation of NONLagDOT. It indicates the direction of the AMA slope without any lag. It works best when use on the 30 minutes charts.

The indicator displays what dominates in a time series: the trend or the flat component or the series acts randomly.

The indicator that shows the direction of the trend on all timeframes in one window of the chart.

It displays the current time position in relation to the beginning and the end of the bar. In addition the ratio between the time passed since the beginning of the bar and the whole bar duration expressed in percents is given. The informer is useful for c

Have audio output of latest price in stereo! Revised to cater for fractional pips as now offered by some brokers to MT4.

Indicator Supertrend. It displays the buying and selling with the colors.

The trading technique that is based on the support/resistance that are determined at the daily opening.

This indicator plots in the chart base on the tick price , ie. when the price moves down 10 pips it plots the down candle and wait till the next 10 pips if move up 10 pips it plots the up candle with the other color candle to indicate the up down price

The MUV indicator created by Sator is used.

This version of ZigZag can simultaneously display three zigzags both drawn on the data from the current timeframe and on the data from the larger timeframes.

Standard OsMA indicator with the indication of the possible trade signals.

Smoothed RSI indicator with the sound signalling of crossing the level 50.

A "cover" for the normalization of the indicator values.

MM Lines are drawn where support and resistance is.

1...323334353637383940414243444546...61