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

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

Sharing this trend indicator made by me. Called "Timeframe Flow". It will draw a user defined higher time-frame candle on every shift on your current time-frame. Meaning you can have H4, H12 or D1 candles on every shift of your H1 Charts. Or you can have D2, D3 or D5 candles on every shift of your Daily Charts. Combined with the current time-frame ATR Bands, you have a trend indicator with some filter. You may also use the Mid Line crosses as exit( Calculated using Higher timeframe candles displayed in the indicator(Close + Open)/2 ).

Building good trading habits by seeing things in terms of percentage not in terms of money.

Determines when market price is smooth or rough

Displays direction of volatility and volume

This indicator is used for identifying extrema of different degrees.

Indicador Mass Index para Metatrader 4 con los niveles más importantes en donde se producen las señales de este indicador, de acuerdo a su autor. El MI es un indicador basado en la volatilidad del mercado.

Indicador de medias móviles Hull (HMA) para Metatrader 4 que cambia de color dependiendo de la tendencia. La HMA es una media móvil diseñada para seguir de cerca la acción del precio más reciente pero sin perder el efecto de suavizado. Puede resultar muy útil para el análisis de tendencias.

Volatility indicator

The Momentum-based Adaptive Channel is a version of the adaptive channel based on the Euclidean distance. It is designed to adapt according to the dynamic market as needed.

The FM Demodulation Indicator tracks the timing of price variations.

Building good trading habits by seeing things in terms of percentage not in terms of money.

Clone of Smart Envelope from tradingview

Redrawing trading position for history data and current trading position

This RSI stop and reverse indicator makes use of RSI on price v2 code. If required the RSI level bands can be hidden.

RSI levels rendered on price as bands V2. This updated version now mirrors the same RSI level inputs. The RSI 70 level line is blue The RSI 50 level line is gray The RSI 30 level line is red Length and Levels are adjustable

RSI levels rendered on price as bands

Give the return zone of the MACD Zero Lag

Draws Pivot Points Formulas

Braid Filter indicator of Robert Hill stocks and commodities magazine 2006

Draws two labels: High-Close and Low-Close range of the last closed candle left of the current candle

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

The breakout strength meter is a trading tool that is used to identify which currencies are the strongest to breakout, and which currencies are the weakest to breakout

Colored volumes at the bottom of the chart

Corrected moving averages

Relative volume trend

Relative price trend

RSI dual features Cutler RSI with standard RSI full formulas

Clarity index is a purely volume based indicator which is constructed on basis of volume, range and positive/negative candle count. It reflects the strength of trend with respect to volume.

MultiVote On Balance Indicator displays a higher resolution of trading volume activity to the regular On Balance Volume calculation.

New fisher to catch trend with indication UP and DN

Stock trading indicators. BIAS.

ADR,AWR,AMR,Draws Average Range Lines

The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.

Use the intersection of two moving average lines to draw a vertical line

Hassane Zibara

Visual multi-timeframe trend indicator.

Draw Fibo Expansion

Catching the extreme change on candle.

Three-layer indicator Fibo Bars 2 by Ivan Kornilov

Identifies over-extensions in price

1234567891011...61