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

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

This indicator is based on the moving average, but it doesn't use any standard moving average indicators.

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.

PricePosition indicator provides the position of price in the point of angle when the price rises above (BUY) or falls below the angle section line (SELL).

Calculates profit (loss) of the current orders on the symbol.

Modified version of FF Calendar Indicator with new features.

Continuously records tick data in format "DateTime, Bid, Ask, Volume" even after restart.

This indicator provides an easy way to find out the current direction of a pair.

A good oscillator for helping you count Elliot waves.

Shows simple channels for daily, weekly, monthly timeframes.

ATR MA Oscillator - Oscillator is based on the difference between the ATR oscillator and its signal line.

Simply displays ticks on the price chart

Visualizer indicator (what a terrible phrase to use!). Colors the chart bars according to the logic of determining the state of the fourth dimension of the Chaos Theory by B. Williams - Zone.

The indicator plots channels on three different timeframes (by default 1 hour, 4 hours, 1 day) and displays them on one chart. Also, for greater clarity, it displays the boundaries of each channel on the chart.

Semaphore indicator that predicts the future direction of the price

It responds to market faster than the MA (moving average)

The ZeroLag MACD Colored indicator is a modification of the ZeroLag MACD. Added coloring of the histogram bars relative to the previous bar, if the previous bar is below/above the current.

Aggressiveness - the rate of price change. Volatility - the size of the channel

Determination of the entry levels

Parabolic plotted based on Lows and Highs of a moving average. Efficiently displays the trends on smaller timeframes, and allows to mostly eliminate frequent switches, inherent to the "Parabolic SAR" indicator.

Alternative grid

Modification of the DeMarker indicator with additional color indication based on the histogram

Moving average

Popularly demanded modification of the RSI indicator

Oscillator based on turnovers

Variation of the DeMarker indicator

The indicator is similar to 4Hour Vegas Model.

Another variation of the fractals.

Multi-timeframe PCCI indicator.

Another variation of the Macd. I do not remember it had already been published.

The indicator predicts (at least tries to) the RSI on a specified number of bars using the cluster analysis

Example of plotting a function spectrum using the FFT library

The MACD is not required to be present on the chart. However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the indicator will use the MACD settings.

Really helps in trading

Divergence based on a standard Stochastic with Alert and language selection.

This is a table of signals created based on the popular market indicators ... I think anyone can find it useful.

Allows to get the signals for entering and exiting the market.

Another attempt to adapt the moving average.

Simplified Parabolic

The Correlation USDCHF/EURUSD indicator.