Watch how to download trading robots for free
Find us on Twitter!
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 - 23

icon

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.

Submit your code

The indicator displays the series of waves, breakthrough points and targets for Take Profit.

The indicator performs the calculation of the derivative of the price.

The lookup and display of the divergences of different classes based on the data of the base indicator.

The indicator marks the pin bars on the chart based on the parameters set.

This indicator downloads history of symbols which have open charts. It will no longer be necessary to wait for an update when switching timeframes.

Just a Donchian channel with slope. If xslope=0 it becomes the Donchian channel. It uses the moving average of Momentum.

This ZigZag indicator uses dual buffers to store high and low points.

Fibonacci indicator drawing levels on previous day.

Indicator S&R based on OHCL candles.

Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.

My version of Squeeze Indicator for MetaTrader 4. This indicator is based on a strategy mentioned in John Carter's book, Mastering the Trade. It is also a fully improvised version of Squeeze_Break indicator by Des O'Regan.

Bollinger Bands with customizable moving average method and applied price.

This version of CCI indicator uses median line of the Step Channel indicator.

Money Management / Pivot / Daily Open / Support-Resistance / Grid / Information of all kind / Tendency indicator.

This indicator shows Step Channel based on volatility.

Money Manager Graphic Tool shows Lot Size, Ratio, Risk and opens orders (Buy, Sell, Buy Stop, Buy Limit, Sell Stop, Sell Limit).

This indicator plots the values of the user specified ATR period for all timeframes as a text block. The text block corner can be changed by the user.

Draws a Triangular Moving Average on the chart.

This indicator shows Wedge pattern.

Simple button to change the timeframe directly in the chart.

This indicator shows 3 periods ATR LWMA.

This new representation helps to see charts in a new different way.

This indicator shows Flag and Pennant patterns.

Easily create horizontal lines by 1 key stroke, choose the color of the resistance line and the support line, the indicator automatically changes the color when a line is crossed, you can be alerted when a line is crossed. You can see the history of support and resistance of the line.

This indicator shows trend line or channels (using the BSI Indicator).

This simple indicator will change the timeframes of the current chart with keypress.

This indicator shows channels using the price histogram.

Indicator of support and resistance levels based on Open Close High Low Weekly Candle.

This indicator shows four price histograms when a chart click event is fired.

The Hull Moving Average (HMA) is an extremely fast and smooth Moving Average that almost eliminates lag altogether and manages to improve smoothing at the same time.

Bounce Strength Indicator (BSI) shows the strength of bounce. It now works in trend and uses Tango Line calculations.

This indicator is a sharp turn to the dynamic change of direction. Like tango steps!

The indicator is a histogram of the lowest/minimum spread only, given in a candle whilst the indicator has been running. Example scripts for placing buy or sell at the lowest spread are included.

Reversal Navi indicator shows the entry point coming after the reversal bar.

Bounce Strength Indicator (BSI) shows the strength of bounce. Inspired by the Wyckoff method.

This indicator combines two groups of six exponential moving averages of different periods to elucidate the direction and the strength of the short-term and long-term trend.

Exports CSV file to analyze trade history for a symbol.

Using Golden Section Analysis of the market for yesterday and last week.

This indicator allows you to plan your financial balance.

Calculation of pivot and similar levels based on time zones.

1...161718192021222324252627282930...63