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

Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.

A non-repainting Stochastic-based indicator that generates buy and sell signals based on extreme zone crossovers, featuring an alternating signal filter and bar-close alerts.

Plots the previous trading day's High, Low and Close as horizontal reference levels across the current session, with optional multi-day history for context. No repainting, no discretion — the levels are read directly from the completed Daily bar

Professional open-source Candle Strength Analyzer for MetaTrader 5. Analyzes candle body, upper and lower wicks, buyer/seller pressure, rejection, range expansion and candle strength in real time.

Professional open-source Moving Average Dashboard for MetaTrader 5. Monitors EMA 20, EMA 50, EMA 100, EMA 200, SMA 50 and SMA 200 with price position, trend structure, MA Score and overall market bias.

Professional open-source Multi-Timeframe MACD Dashboard for MetaTrader 5. Analyzes MACD Main, Signal and Histogram across M1, M5, M15, M30, H1, H4 and D1 with an overall momentum score and market bias.

Professional open-source Multi-Timeframe RSI Dashboard for MetaTrader 5. Analyzes RSI across M1, M5, M15, M30, H1, H4 and D1 to monitor momentum, overbought and oversold conditions in real time.

Professional open-source Multi-Timeframe Trend Dashboard for MetaTrader 5. Analyzes M1 to D1 using EMA 20, EMA 50 and price position to identify Bullish, Bearish and Neutral market conditions.

Professional open-source Market Volatility Monitor for MetaTrader 5. Analyzes current ATR, average ATR, ATR ratio, daily range and spread to classify market volatility in real time.

Professional open-source Drawdown Monitor for MetaTrader 5. Tracks current, daily and peak-equity drawdown, floating P/L, margin levels and configurable account risk conditions in real time.

Professional open-source Trade Statistics Dashboard for MetaTrader 5. Analyzes trading history with win rate, profit factor, reward/risk, streaks, BUY/SELL performance, lot statistics and floating P/L.

Professional open-source Symbol Information Dashboard for MetaTrader 5. Displays live prices, spread, tick value, contract size, lot limits, swaps, trading conditions, daily range and ATR in real time.

Professional open-source Trading Session Monitor for MetaTrader 5. Tracks Sydney, Tokyo, London and New York sessions, overlaps, countdowns, spread, ATR and real-time market activity.

Professional open-source Account Health Monitor for MetaTrader 5. Monitors balance, equity, margin, drawdown, exposure and trading conditions with a real-time 0-100 Account Health Score.

Professional open-source Daily Profit and Loss Monitor for MetaTrader 5. Tracks daily closed profit, losses, floating P/L, win rate, daily return and configurable profit targets and loss limits.

Professional open-source Drawdown Monitor for MetaTrader 5. Monitors balance, equity, floating P/L, current drawdown, daily performance, peak equity and maximum drawdown with configurable risk levels.

Professional open-source Trading Journal Panel for MetaTrader 5. Analyzes closed trades and displays win rate, profit factor, net profit, average results and account performance in a real-time dashboard.

Professional open-source Trading Clock for MetaTrader 5. Displays broker server time, local time, UTC and Sydney, Tokyo, London and New York market times with live session status and overlap information.

Professional open-source Market Status Dashboard for MetaTrader 5. Monitor spread, ATR volatility, volume activity, daily range, ADR usage, trading sessions and overall market conditions in real time.

Quantora Symbol Information Panel MT5 - Professional Trading Specifications Dashboard

Professional open-source Pip Value Calculator for MetaTrader 5. Calculates broker-specific pip and point values using real symbol specifications, lot size, tick size, tick value and account currency.

Professional open-source ADR Calculator for MetaTrader 5. Calculates Average Daily Range, current day range, ADR usage percentage, remaining range and projected ADR High/Low levels with a modern Quantora dashboard.

Professional open-source Session Clock for MetaTrader 5. Displays Sydney, Tokyo, London and New York trading sessions with live status, countdown timers, progress bars, overlap information and configurable alerts.

Displays a complete trading statistics table directly on the chart — Net Profit, Profit Factor, Drawdown, Win Rate and more — calculated from your full account history. Purely informational, free for everyone.

Locks in the high and low of any user-defined session — Asian, London, New York, or a fully custom window — and draws it on the chart as a live-updating box or line pair. No repainting, no discretion — the range is measured directly from the bars, not estimated.

Professional open-source Candle Countdown for MetaTrader 5. Displays a live digital candle timer, progress bar, elapsed and remaining time, market status and configurable countdown alerts with a modern Quantora dashboard.

The Spread Monitor is a professional statistical dashboard that evaluates the current market spread relative to its recent historical behavior. Instead of simply displaying the current spread, it determines whether the spread is unusually high, unusually low, or within its normal statistical range.

This is a volatility regime indicator, displayed in a separate window below the chart. The core idea: it calculates a historical percentile of the current volatility (0-100%) and classifies the market into 5 "regimes" — from extreme calm to extreme chaos. On top of that, it has a full visual dashboard (a text panel on the chart) with a trading signal, SL/TP, MTF (multi-timeframe) filters, volume, VIX, and, in the current version, a probabilistic "confidence meter" score.

Global Macro Soros. A multi-timeframe trend-agreement indicator inspired by George Soros's macro trading style.

Bands StochRSI Extreme Reversal — spots mean-reversion signals where price closes back inside the Bollinger Band after Stochastic RSI hit an extreme zone, with an on-chart status panel.

The SMC Order Block Detector indicator features an Advanced Smart Money Concepts (SMC) Order Block (OB) Engine inspired by the TradingHub 3.0 methodology. It is specifically engineered to automatically detect, track, and manage institutional Order Blocks with high precision on MetaTrader 5. A key highlight of this indicator is its Smart Overlap Management: when new Order Blocks form and overlap with existing active zones, the algorithm intelligently evaluates their Fair Value Gap (FVG) sizes. It automatically filters out and deactivates weaker or redundant zones, ensuring that only the highest-probability institutional levels remain on your chart.

A MetaTrader 5 indicator that displays Heikin Ashi candles with closed bar buy and sell arrows, optional MACD histogram divergence confirmation, and configurable alerts.

This is an MQL5 custom indicator for MetaTrader 5 called RSI Histogram. It plots the standard RSI line in a separate window, plus a color-coded histogram version of the same RSI values that changes color based on momentum:

Extreme Value Theory (EVT) ported into MQL5 for gauging potential crashes and upsets in the market.

Shows average price range per hour of the trading day as an on-chart heatmap, plus Asian/London/New York session shading behind the candles — so you can see when a symbol actually moves, not just guess.

A lightweight on-chart dashboard that reads your closed trade history and shows win rate, profit factor, streaks, and an equity curve — no strategy inputs, just your own numbers, refreshed automatically.

A forecaster made from Symbolic Aggregate approXimation (SAX)

Session-Based Scalping Indicator for MetaTrader 5. It automatically marks the Asian session high and low, then generates scalping signals at the London open when price breaks or retests those levels. The indicator draws dynamic session ranges, sends alerts and push notifications, and includes optional trend, volume and time filters. Works on M1, M5 and M15 charts for any symbol.

A faithful MQL5 port of Daniel Bloch's Relative Moving Average framework. It ranks the current close inside its own window's distribution on a [0, 1] scale comparable across symbols, publishing the fractiles, regime classification, and directional consistency as readable buffers.

SMC chart indicator: market structure (BOS/CHoCH), volume weighted order blocks, multi timeframe FVG, equal highs/lows, liquidity sweeps, premium/discount zones, a 3 time frame bias panel and an optional trade setup readout. Closed bar logic only (no repaint). It draws and alerts, it does not place trades.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144