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

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.


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.

It is developed on the other principle, not on ADX's. Chand suggests 13-weeks SMA as a basis of the indicator.

The drawing of the moving average is performed on the basis of Demark's method "Daily Range Projections". Indicator on a zero bar points at the future price change.

Moving Averages show the average value of the price of the symbol for a period of time.

Steve Nison 'three line break' strategy on chart.

The indicator of peaks.

I made this indicator colored at Zet's request.

The indicator searches for the patterns, displays the end of the D and C points on the screen.

An effective trade system, it determines the levels of support/resistance, rollback, trend reverse by a complex mathematical algorithm.

It uses three timeframes to determine a trend.

The indicator is based on CandlesticksBW. It colors the japanese candlesticks by B. Williams displaying the "black" and "white" candlesticks.

The indicator is written by the fourth dimension of B. Williams - Trading Zone.

It represents a standard MovingAverage indicator with the function of smoothing by the second-order Butterworth filter added.

Indicator of Bollinger bands.

Another version of the Madeleine indicator.

The indicator shows the break through line.

The indicator shows the probabilistic reverses.

The indicator of Fibo levels and arcs drawing.

ZigZag with rays (on a break through)

An analogue of the intersection of two stochastics.

A simple indicator that displays the chart of the symbol in the window of another symbol.

Indicator of STOPLEVEL.

Indicator TrendManagerNT.

Indicator NewTrend_v1.