Inspecting Broker-Provided Trading Sessions in MetaTrader 5
Summary
This diagnostic tool reads weekly trading sessions from the connected broker for a chart symbol, a supplied symbol list, or visible Market Watch instruments. For each symbol, it reports the sessions returned by the platform, whether the current server time falls inside one, and the next scheduled opening or closing transition. It also includes trade mode and synchronization status, and can save a timestamped CSV snapshot.
The method relies on broker-provided symbol schedules rather than fixed global market-hour templates. It labels sessions that cross midnight and reports unavailable schedule data instead of substituting assumed hours. This is an inspection aid: it does not place or manage orders or produce entry signals. Its usefulness and accuracy depend on the schedule data supplied by the broker, so it cannot establish universal trading hours or guarantee that reported times reflect actual execution conditions.
Key ideas
- The inspector obtains session times from the connected broker for selected symbols.
- It reports current session status and the next scheduled opening or closing transition.
- Cross-midnight sessions are identified, and missing broker schedules are reported as unavailable.
- The tool is diagnostic only, and schedule quality depends on broker data.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.