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.

To post a new code, please log in or register

Two modified COG indicators. Center of Gravity on Stochastic in sub window and enhanced On Chart COG.

This is the Figurelli RSI automatic gain version, so input parameters is the same as original Welles Wilder RSI (i.e. period setup). The indicator figures out the gain value based in minimal and maximal values inside the sample and period programmed.

The indicator is similar to Bollinger Bands (this same idea), but it uses GruchaAvarage instead of MA for counting.

Based on MACD.

In my opinion, Welles Wilder RSI (Relative Strength Index) is a great momentum oscillator that works fine for small periods values (from 2 to 20). So I did some changes to it performe as good for greater periods, like 120, introducing a gain variable.

Price levels Call / Put the lines of support / resistance.

Many consecutive Heiken Ashi candles of the same color often indicate a soon and harsh trend reversal. This indicator shows the number of consecutive same color candles. So you can see overbought and oversold situation at first glance.

Average Directional Movement Index with Standard Deviation

Индикатор показывает дивергеницию на стандартном стохастике.

Shows 4 sessions: Pacific, Asian, European, American.

Based on Zigzag Indicator.

Envelopes with MaOnArray and Average True Range.

Basic on iStochastic. Show good area price for long/short.

Trend indicator.

Simple scalping system for m1-m5 timeframe.

A simple tick data collector written in MQL4 for you to collect tick data on any symbol you choose.

A simple signal indicator that detects MACD Main line extreme value. It filters first pike and displays all after the first.

Exponential average true range reduces the lag by applying more weight to recent prices.

A very clean system by Farshad Saremifar, Based On Pivots and ATR and Moving average.

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