Download MetaTrader 5
6000+ trading robots and indicators in the Code Base

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

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.

previous12345678...48next
latest|best

Intraday Fibonacci levels.

Synchronized version numbering using the iGentor CCIM v.0.2.

Removed LSMA and EMA. Made the sixth signal bar and trend coloring.

Prediction of the daily price ranges.

The indicator displays the selected day of the week.

The indicator calculates the product of GBPUSD x USDCHF. Painted red, GBPCHF - black (repeats the price on the upper chart)

The indicator is designed for displaying the candles of any higher timeframe on the H1 chart. It is also possible to display the candles of the non-standard timeframes: H5, H7 or H11. The upward and downward bars are filled with different colors.

Quote: One of Jurik's smoothing versions.

The indicator finds Doji candlesticks and highlights them on the chart.

The indicator plots levels based on the previous days.

The indicator is similar to ASCTrend, in my opinion it is even better. Works by the system: High - Low.

The indicator draws levels interestingly, especially on the smaller timeframes.

The indicator without averaging of the data array, that is a Buy/Sell decision is made in one move.

Improvement of the pair correlation indicator, for different timeframes. Green - positive correlation. Red - negative.

The indicator draws the slow and fast ССI and colors bars for determining patterns and trends.

The indicator helps to follow the trend on the market.

The indicator is calculated on the basis of currency pair volatility displaying the nearest support and resistance levels. It can be used as a trend indicator.

The indicator that calculates the volume corresponding to MA per second (or period).

Indicator of support and resistance levels. It simplifies the navigation in placing the "stops".

The indicator that works on the level breakout\rebound.

The indicator plots dynamic support and resistance levels.

Simple tactics using RSI and MACD

The indicator shows convergence/divergence of the fast and slow trailing.

SATL (Slow Adaptive Trend Line) - the «slow» adaptive trend line is obtained using a digital low-pass filter of a different order (light-blue line on the chart).

FATL (Fast Adaptive Trend Line) - the «fast» adaptive trend line is calculated using a digital low-pass filter (cream-colored line on the chart).

Example of optimization using the "running total" method.

The classic TTF with the T3 smoothing method and signal lines.

True Strength Index (TSI) is a double-smoothed Momentum. TSI follows the bars with little or hardly noticeable delay in the main and intermediate trend reversal points.

Triangular Moving Average (TMA). The main weight goes for the average part of the price series. In fact, they are double-smoothed simple moving averages.

DeMark indicator - changed the rendering of the TD lines.

The "Trend Detection Index" indicator is a modified "TDI" indicator.

Sequential is an automated trading system developed by Thomas DeMark.

It uses a detrender based on a Т3 filter, and the "moment" is the price at the closing of the bar.

The indicator draws levels interestingly, especially on the smaller timeframes.

Indicator for a strategy that uses CCI. When trading Woodies CCI all you need is to find Woodies CCI patterns.

The Zig Zag indicator with a sound alert on appearance of a new line on the chart.

Clearly displays the gaps in points as a colored histogram.

My version of plotting the DeMark lines, also draws channels in addition to the trend lines and targets. Added one more target (the third one defined as 1.62 of the inner extremum), added the signal cancellation when closing within the channel.

The indicator of the first price change derivative or simply trend speed and sign.

This indicator shows the trend from the smaller timeframes up to H4.

previous12345678...48