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.

To post a new code, please log in or register

The Multi pair MACD indicator. Another variant of MACD, shows the signals for the following pairs: EURUSD, GBPUSD и USDCAD.

A new version of indicator MACD Colored.

The indicator is rewritten from FXAccuCharts to MT4.

The indicator is almost 2 years old. I didn't lay it out, because I had no idea of how to use it.

The indicator MoR.

Another version of indicator VoltyChannel_Stop.

The indicator is used to check price locations.

Another indicator that displays the signals for buying and selling.

The indicator InnBar_mtf.

The indicator MA-wpr.

It calculates the entropy by the relative position of benchmarks.

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.