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

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 displays News with a market clock.

Often times I find my chart is too cluttered with indicators to see the price action, however I still need those reference points. My solution was to create an indicator which displays the current level of some of the MA's of the current candle.

Basic combination of fractals, DiNapoli objectives and Fibo nodes.

GRUCHA Percentage Index

YangTrader is a good indicator, it core is price moving and return, when the value crosses 15, maybe it's the best buy time and down cross 80 it's the sell time.

The post-zigzag can count the moving of zigzag line. If see many continuous post on screen, It's will more signal for changing the trend of price.

The channel indicator formed of 2 Kijun-Sen lines (Ichimoku system).

Scalping Bollinger Bands Breakout Reversals with RSI confirmation.

This uses the standard Bollinger Band calculations to further calculate the width of the Upper and Lower Bands, comparing that number to the Max and Min width of the bands for the last N periods. The results are plotted onto a histogram.

Combines a strategy based on MA crossover with RSI and MACD confirmation by cmillion

This is the standard Heiken Ashi, but with the option to spot Dojis and color them differently.

Price Alert MetaTrader indicator plays sound alerts when the price reaches certain levels that are specified by the trader.

Simple chart to display the highest and lowest values for a data series over "n" bars period.

These indicators are made to show how much profit your EA have made in a certain period.

Calculates the Moving average indicator based on Fibonacci value.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

Shows correlation between different MAs.

This indicator will trigger an audio/visual alert when the symbol mid-price crosses one of two trendlines placed on the chart.

This indicator will display a symbol watermark on the chart background, showing the timeframe and symbol name in large font.

Based On Bollinger Bands

Indicator for scalping trading - Chanel scalper M1-M15

Two Moving Averages (MA) crossover indicator with alerts and filters.

Velocity = High-Low / Time. Time is changeable to minutes, hours, or days. Seconds is the default. In physics, Velocity = distance / time.

This indicator is developed to show the average movement of any 2 correlated currency pairs of the same TF.

Counts crosses off moving averages, it shows % that all MAs are above slower MAs

Индикатор показывает в рабочем окне графика цены средних линий с других периодов.

This indicator makes use of increase in momentum of cci value with respect to the last peak or bottom.

Simple chart to display candlesticks for the 3 following periods: London Open to New York Open, New York Open to London Close, London Close to New York Open.

This is a Multi time frame indicator based on the MACD. I was attempting to see if I could get a good entry on the M5 chart, and make the MACD values of the H1,H4,D align with the M5.

this indicator is from the e-book master the market of Tom Williams, calling VSA method. It plots many arrow sign of the weakness and strength definition. Just point the mouse out at the sign, then the definition will show.

Another version for AutoEnvelope according to the format described by Dr. Alexander Elder in your book How To Take Profits, Cut Losses, and Benefit from Price Declines.

Multi TimeFrame Stochastic. This indicator was created at the request of several traders in the image of the indicator Nik_PSAR_2B (

Trix two lines

Automatic EMA envelope.

It is the bbsqueeze indicator but with OsMA as momentum.

This indicator shows the future movement depending on similar movement in the past.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

This is the updated version of the indicator i uploaded previously at

Indicator that shows profits and losses (in pips and money).

Indicator that shows trend and divergencies.