Skip to content
All library documents

Checking Broker Execution and Spreads with a Pending Order

Article MQL5 code base

Summary

This document describes an expert advisor intended to check a broker’s order execution and spread. It is attached to a chart and sends a Buy Stop order 100 pips away from the current price, then modifies that order. The order activity provides a way to observe how the broker handles pending orders and their spread conditions.

The document gives no measurement procedure, interpretation guidance, or empirical results, so it does not explain how to compare brokers or draw conclusions from the check. It also says that removing the expert causes pending orders to expire and be deleted after 15 minutes. Traders would need to account for that cleanup behavior and assess any execution evidence themselves.

Key ideas

  • The expert advisor checks broker execution and spread through pending-order activity.
  • It places a Buy Stop 100 pips from the current price and then modifies it.
  • Removing the expert starts a 15-minute delay before pending orders are deleted.
  • The document provides no results or guidance for interpreting the check.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.