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

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

Time segmented volume (TSV) is a technical analysis indicator developed by Worden Brothers Inc. that segments a stock’s price and volume according to specific time intervals. The price and volume data is then compared to uncover periods of accumulation (buying) and distribution (selling). Time Segmented Volume was developed by Worden Brothers, Inc to be a leading indicator by comparing various time segments of both price and volume.

Get notifications when hit price level

Some call it as MCDx Smart Money Indicator. It's just modification from RSI indicator.

3LS

Converted 3 Line Strike by TheTrdFloor from TradingView to MQL4

Histogram of momentum

Converted ATR Bands by AlexanderTeaH from TradingView to MQL4

Converted Trend Direction Force Index v2 - TDFI [wm] from TradingView to MQL4

Converted SSL Channel by MissTricky from TradingView to MQL4

An exponential moving average of the true range and the offset of its average deviation

Indicator that shows higher timeframe candle on current timeframe.

Converted LazyBear Squeeze Momentum Indicator from TradingView to MQL4

This indicator gives the Speed and Acceleration of the price for a given period. In order to make a smooth graph, can be used a procedure using the Hull Moving Average method

a procedure that calculate most stats in one call: R-Squared and Linear Regression

Arrow Up and Down on each bar and other informations.

ScalpX is an indicator that uses Kalman filters to identify buy and sell opportunities whenever is indicated by the graph.

these two indicators have been coded well and they can be used for the purpose of market trend analysis for the purpose of increasing the accuracy in trading. The trend Analyser Dashboard will tell you the direction of the trend and whether to trade that particular trend for the moment or not. The perfect trend scanner will show you the direction of the trend also and blue histograms are for uptrend while red ones are for down trend. These two indicators have two different separate codes. The two indicators are already available on the market so the files codes provided here are only for demonstration of how the code looks like. Thank you

This indicator shows market highs and lows for any timeframe with period separators. You can see daily/weekly/monthly highs/lows on lower timeframes like H1/M30/M40. This is good for trading breakouts.

Kalman Speed oscillator... Just an experiment

a bit more EA frliendly version

CCI of Moving Average with Dynamic Signal Lines

A simple indicator plotting a channel with a constant range

Colors bars when their volume has exceeded more than a standard deviation, or a multiple of it. Volume is commonly used as confirmation for a break of a significant level.

SmoothStep (generalized) - metatrader 4 version

SmoothStep (metatrader 4 version)

ADXm experiment (metatrader 4 versions)

Chaikin Oscillator with smoothing option.

Simple Slope Oscillator Normalized with symbol overlay for MT4

Recursive Moving Average calls itself a number of times in order to reach the appropriate smoothing. For instance DEMA,TEMA and Rainbow indicators are recursive exponential moving averages. The goal is to remove the loop limit while still running fast. In addition a trigger line provides the trading signal.

Not sure if anyone need this. Just showing the angle of the MA of current and adjacent candle.

Adaptive momentum oscillator idea from David Varadi.

A second version of GARCH volatility indicator of https://www.mql5.com/en/code/11776.

Developed by John Ehlers, the RSI-based inverse Fisher Transform is used to help clearly define trigger points. The normal RSI indicator is calculated and adjusted so that the values are centered around zero. The inverse transform is then applied to these values.

This is an MT4 indicator which generates signals based on Bollinger bands crossover with price.

This code can be used to find highest high and lowest low of a chart for a given period.

This indicator plots multiple signals based on MACD main and signal lines.

This code identifies highest high and lowest low in the neighbourhood.

This indicator compares the main and signals line of the stochastic indicator and marks the sam eon the respective bars on chart.

This code can be used to create rectangles on chart.

This is a RVI crossover indicator.

This is a WPR crossover indicator based signal generating indicator.