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

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.


Indicator Ind-SKB-1.

Indicator TTM-Trend

Indicator CCM2

Indicator HL Next Activator.

Indicator HiLo Activator Profi

Indicator GannSwings.

The Mass Index is intended for detection of trend turns based on changes in the bandwidth between the maximal and the minimal price. If the bandwidth expands, the Mass Index increases, if it narrows, the index decreases.

The indicator is equivalent of one of the oldest classical indicators, ROC. The prices are replaced with volumes in this present indicator.

The indicator Williams' Accumulation/Distribution, W_A/D is the accumulated sum of positive "accumulative" price movements and negative "distributive" ones.

Ultimate oscillator offered by Larry Williams is a weighted average of values of three stochastic indicators defined on a short, medium and long periods.

Indicator Fractal AMA.

Indicator Full Bar w Spread Shadow.

Indicator Elliott Wave

Indicator EMA AngleZero.

Indicator EMA Bands v1

Indicator Pivot Fibs

Indicator RBCI

Indicator Bulls Bears Eyes.

Indiactor Digital CCI Woodies

Indicator CADX

Indicator AFStar.

Indicator AV

Indicator Ask Shadow

Indicator ^Pivot_ResSup

Indicator ^Pivot_PP

Indicator Volume with Custom Moving Average

Indicator MTF CCI

Indicator Dinapoli.

Indicator 3perekosa

i-Gap indicator.

HVR indicator.

It is NRTR indicator, in which candlesticks are painted in accordance with the mutual positions of Alligator lines.

Center of Gravity is an oscillator developed by John F. Ehlers and presented in his article in Stocks & Commodities magazine (May 2002).

Spearman's Rank Correlation is a non-parametric method used in order to make statistical studies of relations between phenomena. In this case, the factual degree of parallelism between two numeric sequences will be detected.

There are many algorithms of smoothing. This given indicator is for smoothing of standard indicator ADX. The code was translated from Easy Language.

Optimized variant of the indicator DT_ZZ by klot.

Hour indicator.

Adaptosctry indicator. Works with indicator FATL.

Indicator DEMA RLH.

Triple exponential smoothing is used in this indicator.