Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Script | Broker Execution Diagnostics | MetaTrader Tool

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.


The script does not open, modify or close trades. It reads the selected symbol specifications and displays a structured report on the chart and in the Experts log.

The report includes:

• Current bid, ask and spread in points
• Symbol digits, point size and trade tick size
• Tick value, profit tick value and loss tick value
• Contract size and account currencies
• Minimum, maximum and step volume
• Directional volume limit
• Stop level and freeze level
• Symbol trade mode and execution mode
• Supported filling modes and order features
• Terminal, account and Expert Advisor trading permissions
• Estimated margin for a configurable test volume
• Estimated account currency profit for a configurable price movement

The test volume is normalized according to the broker’s minimum volume, maximum volume and volume step. Margin and profit estimates use the native OrderCalcMargin and OrderCalcProfit functions instead of fixed pip value assumptions.

Inputs

InpSymbol

Leave this field empty to analyze the current chart symbol. A different broker symbol may also be entered manually.

InpTestVolume

Defines the volume used for margin and profit estimates.

InpTestMovePoints

Defines the price movement in points used for the estimated profit calculation.

How to use

1. Compile BrokerExecutionDiagnostics.mq5 in MetaEditor.
2. Place the compiled script in the MQL5\Scripts directory.
3. Attach the script to the required symbol chart.
4. Read the complete report on the chart or in the Experts tab.

This utility is intended for broker specification analysis and execution troubleshooting. It does not generate trading signals, predict market direction or guarantee order execution.

Image for Broker Execution Diagnostics

Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

76701

Best MetaTrader Indicators + Profitable Expert Advisors