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

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

Weighted deviation - metatrader 4 version

This Indicator shows the potential breakout/stop levels.

An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

An implementation of the original Average True Range indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].

An indicator to see very easily the trend in a maxminband channel. (You need use Heiken Ashi to see the graph or change the parameter ti put the graph in front of the indicators)

- indicator for MetaTrader 4

Based on the original “Time Segmented Volume (TSV)” developed by Worden Brothers, Inc.

Simple indicator that will scan thru the symbols in the MarketWatch window to alert you if price is overbought or oversold based on RSI.

The trade strategy is based on 2 moving averages. To confirm the trend, it uses 2 moving averages crossing and 1 candlestick formation while the moving averages are still crossed.

This version of the 'Detrended Price Oscillator' shows the DPO in blue with a smoothed estimate of it as a histogram to view the length of price cycles from peak to peak and trough to trough.

Channel Indicator using SMA

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.

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.

123456789...61