Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Trend Regime Inspector for MetaTrader 5 - indicator for MetaTrader 5

Guad Bibar
Guad Bibar
  • Founder & MQL4/MQL5 Developer at  Quantum Labs
  • Israel
  • 1413
5 (1)
Founder of Quantum Labs and MQL4/MQL5 developer focused on practical, configurable trading tools. I build custom Expert Advisors, indicators, utilities, dashboards, alert systems, risk controls, and trade-management logic for MetaTrader.
Views:
210
Rating:
(1)
Published:
Updated:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Trend Regime Inspector for MetaTrader 5

Open-source, non-trading indicator for examining whether market conditions are directional or choppy. It never opens, modifies, or closes positions.

Additional chart examples

XAUUSD Daily trend-condition example

AUDUSD H1 trend-condition example

TrendRegimeInspector v1.01 clean one-pane display on AUDUSD H1

What it displays

  • Trend score: a signed -100 to +100 condition score.
  • Efficiency %: Kaufman’s Efficiency Ratio, expressed as a percentage.
  • ADX: the platform’s standard Average Directional Index.

Calculation

Trend score = direction × 100 × efficiency × min(1, ADX / 50).

Direction is positive when price is above a rising moving average, negative when price is below a falling moving average, and neutral otherwise.

How to read it

Green histogram bars meet the positive score threshold. Red bars meet the negative threshold. Grey bars are neutral or mixed. This is a condition filter, not a forecast or a buy/sell recommendation.

Inputs

Moving-average period and method; ADX period; efficiency lookback; and strong-score threshold.

Important

This indicator has no trading functions and uses standard MQL5 indicators only. Historical observations do not guarantee future behaviour. Validate any use for your own symbol, timeframe, broker conditions, and risk limits.

Stochastic Reversal Signal Stochastic Reversal Signal

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.

Previous Day High Low Open Close Indicator Previous Day High Low Open Close Indicator

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

MT5 Broker Environment Report MT5 Broker Environment Report

Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.

MT5 Order Preflight - Read-Only Validation MT5 Order Preflight - Read-Only Validation

Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.