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

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

View current and historical trends of every timeframe.

Non-optimized version of Kaufman's adaptive moving average.

Standard MACD diagram with bullish and bearish bars colored differently.

The indicator places two price marks for the expected candle close, based on the candle range and the chart type.

Spread, its moving average (EMA), its maximum and minimum, and ticks per second (market speed) in the Comment. The version 1.01 is made with the normal average, instead of the moving average.

The indicator for the floating spread. Displays the change in spread of multiple currency pairs.

The multitimeframe version of the ChannelsFIBO indicator.

The indicator marks the bars, the size of which exceeds the value specified in the settings.

The arrow indicator that displays the potential market entry points based on the simultaneous presence of three Stochastic indicators with different periods in the overbought/oversold areas.

The indicator plots a channel based on fractals.

The Fibonacci channel display, the axis of which is the moving average line.

The indicator displays a channel based on the moving averages.

Display of the Heiken Ashi candlestick indicator in a subwindow.

The RSI with dynamic levels.

The indicator showing the supply and demand zones.

Example of creating info panels.

Display of a symbol's chart in a subwindow of another symbol.

Triple Exponential Moving Average with customizable parameters.

The channel indicator plots a linear regression channel.

The Super Trend indicator not only determines the trend direction, but also helps to detect the Elliott waves.

The indicator displays the equity and balance charts.

Reveals distance from the actual price up to the breakthrough of recently set support or resistance levels.

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.

1...141516171819202122232425262728...63