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

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.


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.

I added audible alerts so that when a strong buy or strong sell signal it can generate alerts when the "SoundOn" input variable is set to true.

The application of Lagrange's interpolation polynomial at FOREX.

This indicator signal buys and sell in the market.

Larry Williams indicator. It considers the influence of the secondary market on the trading market.

The indicator shows the difference between Open[0] and Close[1].

This indicator is intended for the trading with the huge enough amount of symbols but it is not necessarily. The indicator calculates the percentage of growth of every symbol from the beginning of the day by a group of symbols, it's not a secret that the

The indicator shows the average between the maximum and the minimum price within a time range.

Indicator LargeTimeFrame. It draws the candlesticks of a larger timeframe on the chart.

How a trend changes? How to determine a flat? ... etc. This indicator will help to answer these questions.

Indicator QStick represents a simple n-period moving average for the difference of the close and open prices.

A modified verion of the Chande & Kroll's Stop indicator. The author consider that the ChandelierStops_v1 is very similar to it and look better than the Chande & Kroll's Stop.

Indicator Impulse CD, an extension of the impulse approach.

Forecasting of price daily ranges. This indicator shows the resistance and support levels of the current day.