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

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.

ZigZag Arrow indicator is based on a built-in ZigZag indicator that replaces the Line Section with Arrow.

An extended version of my RealValue indicator with a new parameter.

This indicator is my attempt to estimate the real market value.

Bound MA (Moving Average) to specific timeframe.

This indicator acts by PRICE ACTION to find the strongest trend each day.

Difference between two currencies.

Doji candle histogram detector with alert & email notfication.

Second-by-second candle timer not dependent on incoming ticks. New candle alert option. Automatic Broker GMT and Daylight Saving Time adjustment.

This is an indicator for finding the strongest trend each day, suitable for intraday trading or a swing trading.

Saves all historical bar data (Open timestamp, Open, High, Low, Volume) and every new tick to CSV of your choice.

1...151617181920212223242526272829...61