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

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.

latest|best

i-HighLow indicator draws the channel with borders correspond to highest high and lowest low values of the bar's shadows for the last N bars.

i-Breakeven groups the open position by symbol and for the each of group shows: 1. The current equity level. 2. The estimated breakeven level.

You never see like this indicator before. This indicator draw Dayly RSI Level on your chart like CAMERILLA and Pivot. The levels is very powerful and very matchful. Try it quickly.

Disparity Index indicator is a percentage display of the latest close to a chosen moving average. For more in depth interpretation of the Disparity Index refer to Steve Nison's book "Beyond Candlesticks".

This code is simple variation of Bollinger Bands code which comes with Metatrader4, if we change Standard Deviation by ATR we have StarcBands.

This Indicatro Draw Weekly CAMERILLA Levels H1 H2 H3 H4 L1 L2 L3 L4 with back test.

This Indicator Draw Dayly CAMERILLA Levels H1 H2 H3 H4 L1 L2 L3 L4 with back test.

This indicator Draw True Weekly Pivot Line and seven levels Up ( R1,R2,R3 ... ) and seven levels Down ( S1,S2,S3 ...).

This indicator Draw True Pivot Line and seven levels Up ( R1,R2,R3 ... ) and seven levels Down ( S1,S2,S3 ...) with back test.

This indicator will plot Fibonacci golden spiral on the chart.

Indicator MadroGoldenFilter gives four signals to filtering 4 strategies.

Indicator Waddah Attar Trend is very simple , very easy to use and very sensetive to buy and sell signals.

This indicator puts Prices at Fibo lines.

This indicator shows symbol index with two MA.

This indicators shows Bears Power and Bulls Power in easy way at one window.

This indicator shows ADX indicator in another easy way. Buy when Bars is Green, Sell When Bars is Red.

Indicator Waddah_Attar_Explosion is very powerful. It alerts you to buy , sell , exit buy and exit sell.

The Indicator ang_AZad(C) helps to define the dominant trend as ang_Zad(C).

The Indicator ang_Zad(C) helps to define the dominant trend.

Indicator ang_PR (Din)-v1 represents an indicator based on polynomial regression.

The Indicator ang_AutoCh_HL-v1 automatically forms up the equidistant price channel from givenned points.

The purpose of this indicator is to identify market fases that have too small amplitudes. These fases are useless even for systems designed for trading ranges markets. When the green line is BELOW the gray line - DON'T trade.

The Indicator DS_Stochastic presents an original Stochastic Oscillator (Stoch), in which aplying EMA smoothing.

The Indicator ZeroLag Stochs_true is an George C. Lane’s indicator Stochastic Oscillator (Stoch) with zero delay.

The Indicator Fast Stochastic is a kind of George C. Lane’s stochastic oscillator.

The Indicator ZeroLAG MA is a moving average with zero delay. The Indicator ZeroLAG MA was described in journal Technical Analysis of Stocks and Commodities, April, 2000 for the first time.

The Indicator ZeroLag MACD is an indicator Moving Average Convergence/Divergence, MACD with zero delay.

Point & Figure Charts (P&F) differ from normal price charts through that they fully ignore the time values and only show changes in prices.

Being one of indicators of group NRTR (Nick Rypock Trailing Reverse), the NRTR WATR indicator is a dynamic price channel adapted by volatility.

Indicator SHI_Channel_true shows Barishpolts' dynamic moving channels in the chart in automated mode.

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.

1...4344454647484950515253