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

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

Calculates volume for each currency on pair based on price movement.

Moving average with some extra features.

Simple indicator to show two levels of Standard Deviation Channel on your chart.

This indicator helps determine the end and the beginning of trends based on the inclination of the matches.

This indicator will Draw Fibonacci Tools such as Retracement, Arc, Fan, Expansion, Time Zones. Based on ZigZag indicator.

A simple indicator, which informs the trader about the appearance of "Bullish Engulfing" or "Bearish Engulfing" candlestick patterns on all timeframes.

The indicator registers the price level breakout moments and the significance of these levels.

The indicator shows the High, Close and Low of the previous day, week or month with time shift.

Tick volumes drawn by days as a histogram of clusters.

Tick volumes of a specified interval drawn as histogram of clusters.

An indicator template that draws arrows on the chart.

Indicator with several Moving Averages.

Tick volume of the candlestick drawn as clusters.

Signal based on the ZigZag indicator.

A small improvement of the little known TVI indicator (https://www.mql5.com/ru/code/7804).

Collection of ticks with writing data to a file and plotting non-standard charts.

The channel indicator. It also displays the current channel levels as price labels and the type of the signal for making trading decisions.

The indicator displays the series of waves, breakthrough points and targets for Take Profit.

The indicator performs the calculation of the derivative of the price.

The lookup and display of the divergences of different classes based on the data of the base indicator.

The indicator marks the pin bars on the chart based on the parameters set.

This indicator downloads history of symbols which have open charts. It will no longer be necessary to wait for an update when switching timeframes.

Just a Donchian channel with slope. If xslope=0 it becomes the Donchian channel. It uses the moving average of Momentum.

This ZigZag indicator uses dual buffers to store high and low points.

Fibonacci indicator drawing levels on previous day.

Indicator S&R based on OHCL candles.

Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.

My version of Squeeze Indicator for MetaTrader 4. This indicator is based on a strategy mentioned in John Carter's book, Mastering the Trade. It is also a fully improvised version of Squeeze_Break indicator by Des O'Regan.

Bollinger Bands with customizable moving average method and applied price.

This version of CCI indicator uses median line of the Step Channel indicator.

Money Management / Pivot / Daily Open / Support-Resistance / Grid / Information of all kind / Tendency indicator.

This indicator shows Step Channel based on volatility.

Money Manager Graphic Tool shows Lot Size, Ratio, Risk and opens orders (Buy, Sell, Buy Stop, Buy Limit, Sell Stop, Sell Limit).

This indicator plots the values of the user specified ATR period for all timeframes as a text block. The text block corner can be changed by the user.

Draws a Triangular Moving Average on the chart.

This indicator shows Wedge pattern.

Simple button to change the timeframe directly in the chart.

This indicator shows 3 periods ATR LWMA.

This new representation helps to see charts in a new different way.

This indicator shows Flag and Pennant patterns.

1...67891011121314151617181920...53