Join our fan page
- Views:
- 210
- Rating:
- Published:
- Updated:
-
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
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
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
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
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
Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.


