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

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 shows the length of the trend line in points.

Plays sound alerts when the price reaches certain levels, specified by trader.

Shows the current gain and loss for the candlesticks on the chart.

A simple visualizer of trends.

The indicator shows current trend direction by placing colored dots on the main chart.

WRB

The indicator detects and marks the WRB (Wide Range Bars) or candlesticks with Wide Range Bodies.

The indicator of divergences on 30 oscillators of choice.

The Pinbar Detector indicator tries to identify the pin bars.

The Aroon Up and Down indicator detects the local tops and bottoms on the chart.

The Coppock indicator shows long-term opportunities for buying or selling.

3rd Generation Moving Average

The classic Moving Average indicator with a color change depending on the direction.

Tick volumes indicator. It shows the price change with an increase and decrease.

The strategy by Daryl Guppy is implemented using this indicator.

The Williams Percent Range indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Stochastic indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Relative Vigor Index indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Relative Strength Index indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Momentum indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Moving Average indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Force Index indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The DeMarker indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Commodity Channel Index indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Bulls Power indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Bears Power indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Bollinger Bands indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The Average True Range indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

It shows the trend direction for multiple currency pairs on the current time frame.

The indicator plots two Stowell patterns on the right edge of the chart: upper and lower.

The indicator displays the server time and the time until the current candlestick ends on the М1-D1 timeframes.

The indicator displays the percentage of the price change for the specified period of the specified pairs.

Another interpretation of the moving averages indicators.

24-hour analog GMT(UTC) market clock displaying in background. The clock displays the Greenwich Mean Time and shows the status of all main stock exchanges according to their schedule.

The indicator displays the values of the Moving Averages (MA), deltas between the values and deltas between МАs.

Tick chart of the price/spread/volume. Saves tick data in a file.

Price(%)Range is the indicator for the MetaTrader 4, which calculates the price movement based on percentage High (Highest) and Low (Lowest) price on 100 bars.

This is a simple indicator showing pivot only for H1, H4, daily, weekly and monthly.

SBVolumeAvg is a Forex Indicator (MetaTrader 4) for calculating Average Volume on the Swing Bars by a ZigZag trend line that is bounded by two vertical lines.

This indicator helps you display spread on a chart.

It synthesizes any symbol if you have the source symbols and then makes a real time virtual chart. Same concept with Triangle Hedge (SymbolSynthesizer.mq5 https://www.mql5.com/en/code/909) but for chart display in MetaTrader 4.

1...131415161718192021222324252627...61