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

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

This indicator shows when to open positon.

NineTFMovement indicator gives an overview of the price movement on 9 timeframes (M1 to Monthly).

ATR Levels indicator marks 5pm NY on the chart along with the 14 day ATR value.

The indicator draws two indicators in separate window.

MA-Based Price Candle.

Trend following system with breakout of different EMA as entry signal and SL and a breakout of highest high and lowest low as TP.

This indicator draws a horizontal line at the Average/Breakeven Price for multiple positions.

RSI average commodity for gold and silver.

The indicator draws horizontal lines corresponding to daily, weekly, monthly highs/lows and connects them consistently trendlines.

The indicator marks the current chart with red/blue arrows to signal a possibility for buy/sell.

This indicator gathers indicator data and prints them in the csv file.

Easy to use ticks recorder.

Classic Donchian-channel with Fibonacci retracement levels.

Draws either MACD, Stochastic, RSI or CCI of 3 timeframes in a separate window.

This indicator will show trend, based on EMA200 of the higher timeframe.

Pivot points - Midpoints, H4, Daily, Weekly, Monthly.

The indicator is a combination of MA channels and Bollinger Bands.

The indicator displays Market Sessions.

The indicator computes the volume-adjusted flow of a currency considering all currency pairs available on your platform.

A tool to better visualize price action using a higher timeframe.

Fractal volatility indicator based on Bollerslev Model.

Change of the spread is being reflected in the candlestick formation, which you can use to more accurately place your stops and not get kicked out of a trade when it might just be challenging a price before making a huge swing in the direction you initially placed your trade.

Draws horizontal grid lines at specified distances.

The indicator shows trade signals using combined Stohastic with breaking of High/Low by Moving Average.

Forex indicator ChainPriceRSI is based on the RSI and MA indicators.

The indicator shows top and bottom ranges of price movement.

Modified Nick Bilak's b-clock with spread (ask-bid) and font customization (font, color, size).

This indicator shows Bollinger and ATR Bands.

BBMACD_v2 is the Bollinger Bands® and MACD indicator in the same place at separate window version 2.

BBMACD is the Bollinger Bands® and MACD indicator in the same place at separate window.

TMA Slope indicator.

Smoothed RSI indicator.

Smoothed ATR indicator.

Smoothed CCI indicator.

The indicator plots trade history on the chart and account informaton.

Correlation(strength) between eight currencies & Gold.

Implementation of zero lag countdown timer.

Some basic information which every trader needs.

MACD Momentum indicator (The Red line is the Momentum 10 of the histogram MACD, smoothed 3).

This indicator helps to find possible support/resistance areas after a trend has developed.

1...171819202122232425262728293031...61