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

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

These indicators are made to show how much profit your EA have made in a certain period.

Calculates the Moving average indicator based on Fibonacci value.

An evolution of John Ehlers Inverse Fisher Transform of RSI.

Shows correlation between different MAs.

This indicator will trigger an audio/visual alert when the symbol mid-price crosses one of two trendlines placed on the chart.

This indicator will display a symbol watermark on the chart background, showing the timeframe and symbol name in large font.

Based On Bollinger Bands

Indicator for scalping trading - Chanel scalper M1-M15

Two Moving Averages (MA) crossover indicator with alerts and filters.

Velocity = High-Low / Time. Time is changeable to minutes, hours, or days. Seconds is the default. In physics, Velocity = distance / time.

This indicator is developed to show the average movement of any 2 correlated currency pairs of the same TF.

Counts crosses off moving averages, it shows % that all MAs are above slower MAs

Индикатор показывает в рабочем окне графика цены средних линий с других периодов.

This indicator makes use of increase in momentum of cci value with respect to the last peak or bottom.

Simple chart to display candlesticks for the 3 following periods: London Open to New York Open, New York Open to London Close, London Close to New York Open.

This is a Multi time frame indicator based on the MACD. I was attempting to see if I could get a good entry on the M5 chart, and make the MACD values of the H1,H4,D align with the M5.

this indicator is from the e-book master the market of Tom Williams, calling VSA method. It plots many arrow sign of the weakness and strength definition. Just point the mouse out at the sign, then the definition will show.

Another version for AutoEnvelope according to the format described by Dr. Alexander Elder in your book How To Take Profits, Cut Losses, and Benefit from Price Declines.

Multi TimeFrame Stochastic. This indicator was created at the request of several traders in the image of the indicator Nik_PSAR_2B (http://codebase.mql4.com/6934)

Trix two lines

Automatic EMA envelope.

It is the bbsqueeze indicator but with OsMA as momentum.

This indicator shows the future movement depending on similar movement in the past.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

This is the updated version of the indicator i uploaded previously at http://codebase.mql4.com/7121.

Indicator that shows profits and losses (in pips and money).

Indicator that shows trend and divergencies.

Intra-[Month,Week,Day,H4,H1 ...] Fibonacci. (Maybe) the most useful Fibonacci tool.

Automatic Andrews, Schiff or modified Schiff pitchforks.

Simply displays active hours (definied by the user).

Wonderful for scalpers

Trend of 8 pairs on one chart

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

Kaufman Efficiency Ratio (also called "generalized fractal efficiency") according to Perry Kaufman books "Smarter Trading" and "Trading Systems & Methods".

Kaufman Volatility according to Perry Kaufman books "Smarter Trading"

A Notifier for I-Regr Indicator, It alerts when Price Breaks Up or Down I-Regr lines.N

Indicator which draws daily, weekly and monthly pivots, support and resistance levels.

This indicator shows the % Daily Change of yesterday close with respect to actual price (Bid).

Variant of stochastic indicator, which filters false signals automatically.

Power Wave Oscillator.

1...232425262728293031323334353637...61