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

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

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.

This indicator will place up to 6 lines, at prime levels of your choosing, in a successive pattern on the chart.

PairsIndex indicator shows the price index of 7 currencies dealing with 7 currency pairs.

Simple implementation of physical calculation of Momentum.

Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of sunday bars, optional display of weekly and monthly PP, preview of tomorrows' PP and current days' midpoints.

Gives you information on pip value, spread value, daily pips average, how much you can earn, future range of the present day.

Calculation of pivot and similar levels based on time zones.

This indicator draws 3 Moving Averages by median price.

The indicator analyzes price volatility for optimal setting of Take Profit and Stop Loss.

This indicator shows low-volatility periods on the chart.

1...151617181920212223242526272829...62