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

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.


The indicator OzFX_D1_IndAES_v1.0.

The main line, the Silver-channels is drawn on the base of it.

It draws the Kijun line with the specified period on the chart and allows to draw the line with the KijunShift periods forward.

MACD Histogram with outomatic divergent line .

Indicator T3.Lnx. It uses signals Heiken Ashi.

An update for the BW MFI with the displaying of volumes.

An oscillator that signals in case of trend changing.

The indicator shows the beginnings and the ends of three trading sessions: Asian, European, and American.

A "Moving" from the board without breaks!

The author insists that users may utilize this indicator as an external interface for all other indexes.

An oscillator with the signal lines that are received from the other pairs. It is intended to work with EURUSD on M1, the signals are synthesized from Yen and Franс, the summary mode is present, you can hide an unnecessary signal.

The indicator displays the average amplitude of the price movement.

The indicator displays the average amplitude of the price movement for the specified period.

The indicator displays the time between sending a quote by the broker and receiving it by you.

Displays the time of last quote coming for the current symbol in the HH:MM:SS format.

Draw Dayly , Weekly and Monthly Pivot with BackTest.

A new High and Low Levels every day .. it is perfect levels

The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.

An indicator of support and resistance levels. The levels themselves are not calculated, as for example the pivot ones, but they are read from the text file of a specific format.

The correlation coefficient between the quotes charts of two currency pairs.

Indicator Weekly_HILO. It represents HiGH and LOW prices.

A try to formalize three parameters of a candle - the upper, lower shadows and the body.

The indicator informs about that the price is approaching to support/resistance line in 3 positions.

It's a complete analog of indicator LSMA

TEMA and DEMA are next of kin

The MACD indicator is built on the basis of RSI that, in its turn, is built on MA.

Besides already fixed bars, the indicator shows the intermediate static positions of the ZigZag indicator. It will be helpful for those developing systems based on ZigZag.

An expanded version of the Normalized Volume indicator. Added means facilitating visual analysis of the indicator's values.

The indicator is build on the basis of moving averages. Its main feature is entering/leaving signal - the indicator's line is colored in a certain color signaling for the user to buy or to sell. The accuracy of the signal is very high.

Trading on news.

Indicator Otcfx_b-clock modified V3.2. Another version of the recommended indicator.

Reversal indicator. It represents 3 lines of different colors showing the trend speed on the current, the nearest larger and the next larger timeframe (TF).

Another version of popular ZigZag.

An original indicator that shows buying/selling signals.

A standard indicator Fractals, that doesn't redraw the lasr fractal....

The standard linear regression channel and support/resistance levels.

Indicator Price and Volume Trend (PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.

The indicator shows the trend. A code example for candlesticks colored in four different colors according to the trend strength.

The indicator displays signals to buy/sell.

Indicator that predicts possible reversal points.