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

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

combination of many familiar indicators for beginner traders

The indicator implements one of the non-linear smoothing algorithms

A professional visual indicator for the popular "One Candle" Daily Breakout strategy (0.9 SL / 1.25 TP). Automates the vector analysis for Gold (XAUUSD).

Set three crosses and monitor the daily percentage performance starting from a given time (that can also be set).

Idea by Andrey F. Zelinsky, based on an indicator by William Blau

This indicator implements the "Quarters Theory" - a technical analysis concept that divides price movement into four quarters around a central base level. It's designed to work with multiple asset types (Forex, stocks, commodities, etc.) and provides visual quarter levels on the chart.

DeltaFusion Lite is the simplified version of the DeltaFusionPro indicator for MT4. It calculates and displays Cumulative Delta and Net Delta, giving traders a clear view of buying and selling pressure within each candle. By analyzing the distribution of volume between bid and ask, it helps identify market sentiment shifts, potential reversals, and various types of divergences between price and volume.

The indicator allows you to estimate the probability that the price has reached its maximum or minimum.

Tillson T3 with EMA calculations done without auxiliary indicator buffers.

This indicator builds a dynamic price channel using Gaussian smoothing to determine support and resistance lines. It calculates smoothed high and low price values for a given period, finds their extrema and displays three lines: upper resistance (maximum of smoothed high), lower support (minimum of smoothed low) and the middle line between them, forming an adaptive trading channel.

A simple signal indicator based on RSI and Moving Average. Draws Buy/Sell arrows when RSI is above/below 50 and Price is above/below MA.

MT5 version of the indicator https://www.mql5.com/ru/code/25465

The simplest indicator showing on the current symbol the price change in % since the opening of the trading session.

MULTI TF Confluence Index Stoch+RSI+MACD

Average Daily Range Indicator.

Modern indicator that displays your daily trading statistics directly on your MT5 chart. Track your trading performance with a beautiful flat design panel showing lots traded, number of orders, and profit/loss for each day.

The Open Range Breakout (ORB) indicator is a powerful technical analysis tool that identifies and tracks price breakouts from the opening range of trading sessions. This indicator is based on the concept that the high and low prices established during the first minutes of a trading session often serve as significant support and resistance levels throughout the remainder of the day. The indicator automatically calculates the opening range based on user-defined time periods, plots multiple price targets, and provides visual and audio alerts for potential trading opportunities. It is designed to help traders identify high-probability breakout trades and retest scenarios.

A volatility filter based on 3 ATR's: a fast ATR, a middle ATR, and a slow ATR

It is a zigzag which creates new zigzag turning points based on passing a volatility threshold

This indicator calculates and displays the Exponential Moving Average (EMA) on the MetaTrader 5 chart. Fully customisable period. Allows selection of the applied price (Close, Open, High, Low, Median, Typical, Weighted). Uses the standard EMA formula, initialised from an SMA of the first bars. Can be used as a standalone technical analysis tool or integrated into automated trading systems for trend-following and moving average crossover strategies.

Lightweight CVD (Cumulative Volume Delta) for MT5 — M1-based, shows buy/sell pressure as candles with optional resets.

One of the simpler chips for machine learning

A simple signal indicator based on RSI and Moving Average. Plots Buy/Sell arrows when RSI is above/below 50 and Price is above/below the MA.

WaveWeisBarForce is a custom indicator based on Weis Waves logic. It accumulates volume into directional waves (bullish or bearish) and displays them as histograms with intensity levels. Bullish waves: 4 levels of green, from light to Lime. Bearish waves: 4 levels of red, from light to Red. WaveMax (white): shows the bar with the highest volume inside each wave. WaveClimax (yellow): highlights record accumulated volume across waves. This indicator helps traders visualise market pressure by volume accumulation and wave intensity, improving intraday and swing analysis.

The goal is to show a code that shows the calculation of the ATR with Wilder smoothing

It signals a period of low market volatility that is about to end, foreshadowing a significant price move.

MACD Histogram

Another ZigZag. ZigZag

This indicator calculate count of one direction movement in selected period.

It's the classic zigzag with a timeframe input to display a HTF zigzag on a LTF chart

The indicator searches the chart for Price Action patterns "Pin Bar" and puts icons on the bar with the found pattern.

Modification of the standard indicator Fractal

A simple information indicator that shows the remaining time until the bar closes, as well as the time elapsed since the bar opened and the current time.

This is an OHLC candlestick chart which records the highest ask and lowest bid on each new bar

A candlestick chart which connects the ask price and bid price to the high and low of the candles

A combination of many known indicators

CandleMove - Pips & Percentage Movement Display A visual tool that helps you quickly gauge the strength of each candle by displaying its price change directly on the chart.

A channel which calculates local highs and local lows with volatility-adjusted lines

A simple yet effective RSI indicator that monitors overbought and oversold conditions on any symbol and timeframe. Sends instant alerts via pop-up and mobile notifications when RSI crosses your defined thresholds.

PriceVar% is an indicator designed to measure the percentage difference between the price and a moving average, highlighting the strength of the market movement in relation to a reference value.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139