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

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 SilverTrend rewritten by CrazyChart is an alerting system similar to indicators of ASCTrend.

WPRslow is an indicator based on Larry Williams' oscillator %R, or WPR (Williams’ Percent Range). It shows a long-term market tone.

WPRfast is an indicator based on Larry Williams' oscillator %R, or WPR (Williams’ Percent Range). It shows a short-term market tone.

Indicator PerkyAsctrend1, as well as all other ASCTrend indicators is based on Laryy williams' oscillator %R, or WPR (Williams’ Percent Range).

The Market Profile uses alternative presentation of information about both horizontal and vertical market moves.

Three Line Break - a raw of vertical rectangle, the height of which is determined by the value of price changes.

The Renko charting method is thought to have acquired its name from "renga" which is the Japanese word for bricks.

The Kagi Charts illustrate how demand-and-supply forces act.

Trix Indicator - oscillator based on a triple smoothed EMA.

Drive is a comparision between total up & down movement of each bar. Identifies Trend.

Zerolagstochs Indicator.

Support and Resistance Indicator.

CoeffofLine Indicator.

ROC Indicator.

BB_MACD Indicator.

ATR ratio Indicator.

ATR Channels Indicator.

ADXcrosses Indicator.

Smoothed ADX BARS Indicator.

wlxFractals Indicator.

wlxBWWiseMan Indicator.

NRTR_ATR_STOP Indicator.

AMA STL Indicator.

TSI_MACD Indicator.

FX Sniper's T3 CCI Indicator.

Hull Trend Indicator.

b-clock Indicator.

Fibo Pivot Lines GMT Indicator.

ForexOFFTrend Indicator.

Fractal Channel Indicator.

Carter MA Indicator.

newMACD Indicator.

Pattern Recognition v1.0 Indicator.

RD-ForecastOsc Indicator.

Murrey_Math_Modified Indicator.

Murrey_Math_MT_VG Indicator.

Trigger Line Indicator.

Nina Indicator.

IND Inverse Indicator.

Using indicator DailyPivot_Shift the main levels can be calculated based on shifted beginning of day