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

The FMO indicator is a technical analysis tool that measures "trend age" using fractal cycles. Its purpose is to help traders determine whether a trend is still young (safe to follow) or over-aged (high risk). A Conceptual Synthesis of Psychology, Sociology, and Life Cycles This work presents a deep analysis of human life through a numerical matrix (3, 7, 39, 49), using it as a conceptual lens for understanding psychology, sociology, and developmental cycles. It is not a conventional scientific framework. Rather, it is a synthesized model — integrating esoteric, psychological, and sociological perspectives into a unified cyclical structure. The goal is to organize and interpret human development through layered, interacting cycles.

Overbought and oversold indicators aim to determine where the price may experience a reversal.

Find Perfect Timeframe to trade

WPR indicator in chart window with TPSL

ZigZag BOS CHoCH Detection indicator is based on the original MetaQuotes ZigZag algorithm and extends it by detecting and marking market structure events. It tracks recent ZigZag swing points and automatically identifies Break of Structure (BOS) and Change of Character (CHoCH) using pivot trend confirmation. BOS and CHoCH levels are drawn directly on the chart with labeled horizontal lines for clearer price action analysis.

This indicator combine WPR and total profit/loss. I don't know how to tell you more about this indicator but you can try it.

Production-ready multi-timeframe RSI scanner with intelligent alert retry system. Monitors up to 7 timeframes simultaneously, highlights convergence zones when 3+ TFs align, and now auto-retries failed notifications to ensure you never miss critical overbought/oversold setups.

Indicator Description – Candle Close Timer Name: Candle Close Timer Version: 1.0 Author: BENTRADE TRADING Link: https://www.mql5.com/en/users/dahmi_benali

Adaptive Support & Resistance indicator that automatically detects, tracks, and updates the nearest valid S/R levels using configurable confirmation bars. Levels dynamically shift after confirmed breakouts and extend forward in real time.

A simple binary trading strategy that counts candle colors.

An advanced, institutional-grade trend-following engine using Z-Score adaptive volatility, smart money volume filters, and a real-time MTF dashboard.

Log

Multi-Mode Logarithmic Transform Indicator.

Hover over any candle to see what MT5 doesn't show: Range size, Body percentage, Wick ratios. Smart, fast, and customizable.

The indicator calculates your risk as a percentage and gives you the lot size that is acceptable for your risk. You only need to specify the risk in per cent and the stop size in pips.

Adaptive VWAP Institutional: Multi-Asset Auto-Detection & DST-Accurate Session Resets (Forex 5PM NY Standard).

A robust Market Structure analyzer that adapts to volatility. ASZ uses a Hybrid ATR engine to filter noise and detect reliable Swing points. Non-repainting on confirmed bars.

A lightweight chart overlay that paints a smooth “daylight” gradient across Pacific, Asia, London, and New York sessions—plus optional session separators, event labels, and “sunray” highlights for scheduled news. Includes UTC/Broker/PC time modes and a manual DST shift.

A compact on-chart dashboard that monitors live spread behavior, tracks rolling Min/Max/Avg, and warns on abnormal spread spikes (news, low liquidity, rollover) using adaptive or fixed thresholds with optional alerts.

Scan multiple symbols and timeframes for wick-based rejection candles and display the latest signals in a clean on-chart dashboard with strength scoring, signal age, optional markers, and alerts.

A chart-based risk monitor for prop-firm style rules: draws a live “Dead-Line” price level showing where your Daily Loss Limit or Overall Max Drawdown would be violated, based on equity, open exposure, and optional trailing drawdown.

This is a simple price channel indicator allowing user to customize period and line colours. Often used in channel break strategies.

It's like a bird's-eye view for BBMA Oma Ally fans. ust drag it onto the chart and you'll get all the BBMA signals running on the chart.

iMy

In the graphical representation, techanalysis represents the trend line to the right of the candles on the breakdown (in green). After the breakdown, the movement along the red line is assumed.

A simple indicator based on Bollinger Bands showing its narrowing and widening phases with red/green colours.

The indicator is written by request on the forum.

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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140