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

MQL5 Source Codes of Technical Indicators for MetaTrader 5

icon

MQL5 technical indicators analyze MetaTrader 5 price charts on Forex, as well as stock and commodity markets. Indicators define trend direction and power, overbought and oversold states, support and resistance levels. Underlying mathematical models provide objective assessment of the current market state allowing traders to accept or reject trading system's signals.

You can download and launch offered indicators in MetaTrader 5. The library of indicators is also available directly from MetaTrader 5 platform and MetaEditor development environment.

Submit your code

A simple indicator which may help you in manual backtest by just moving a vertical line to show hide bars.

Relative Strength Index that completely removes noise, works on all markets!

It will detect whether there's confluence between the current chart timeframe and two other timeframes.

Counter attack candlestick pattern

Dominant Candle is a a two candlestick set where the wicks intersect each other but body of the candles are either gapped up, gapped down or equal

Logarithmic Moving Average continuously calculates the logarithmic mean of highest price and lowest price within a period.

MQL5 version of harmonic moving average

The indicator draws an arbitrary second time frame on the chart.

Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).

Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.

Searches for Wick or Body based High low in visible bars of chart

A simple observatory of individual currencies.

it is an Indicator of Donchain chanel price action work with to all time frame.

SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found). This is a repaintable indicator, please be careful when using it.

Historical Strong S/Rs Levels

Hides Alone Candlesticks

Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish

This is an indicator to calculate ATR Weighted moving averages.

Show candle gain and candle loss in percent.

Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.

This is an indicator to calculate 14 types of moving averages based on close price.

Provides Bollinger Bands with calculating the range bandwidth as the difference in pips between the upper and lower Bands. Bollinger Bands appearance and behavior can be tailored by adjusting period, shift, deviation, and applied price, along with color and line style. The 'range/bandwidth information' label can be placed in the specified Sub-Window, allow to customize label positions. Overall, this indicator aids traders in visualizing market flexibility and volatility based on Bollinger Bands width.

The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart. It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline. Real-time bid prices are displayed, efficiently meeting the need for price information. Place informational labels in the specified sub-window, adjusting positions as needed.

This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator.

This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator.

Candle ZigZag is an indicator which changes its leg if a candlestick color changes

A sophisticated tool that accurately measures market noise

Draw a Rectangle on chart to plot custom grids based on points value on input

A simpler way to display Heikin Ashi

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

Alerts on engulfing bar below or above rsi levels

The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.

Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.

Current Candle To Close in x Time

Envelopes beginner tutorial to learn how to code in MQL5

Horizontal Grid Controller with KeyEvents

Candlestick Wick Imbalance

DCC / Piercing

Wickless breakout

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133