MT5 Broker Environment Report is a small diagnostic script for MetaTrader 5. It prints a structured snapshot of the current terminal, account mode, symbol specification and trading environment to the Experts log and, optionally, to a text file. The report helps compare a working and a failing setup without exposing trading-account activity.
Broker and symbol specifications are not identical. Differences in symbol suffixes, volume steps, stop levels, filling policies, account modes or terminal permissions can make the same Expert Advisor behave differently. This script records those facts in a repeatable format for bug reports and development briefs.
The output includes the terminal and MQL5 builds, account margin mode, leverage and deposit currency, server time, current symbol identity, digits, point and tick sizes, contract size, volume limits, trade and order modes, stop and freeze levels, supported filling and expiration modes, tick values, spread and selected terminal permissions.
The script intentionally excludes the account login, account holder name, balance, equity, open positions, pending orders, trade history and credentials. It is read-only and does not open, modify or close trades. Review every report before sharing it. The values are diagnostic facts, not trading signals and not financial advice.
The source is released under the MIT License. Example values in the screenshot are illustrative.

Trend Regime Inspector for MetaTrader 5
Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.
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.
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.
Risk Position Size Calculator
Set your risk %, drag the stop, and get the exact lot size priced in your account currency — margin and target included. Calculates only, never trades.