Skip to content
All library documents

Counting Open Expert Advisor Orders by Order Type

Article MQL5 code base

Summary

The document describes a basic Expert Advisor utility for tracking how many orders are currently open, both in total and by order type. It frames order recognition as a practical need when a trading robot can manage multiple simultaneous orders.

The proposed display uses the platform’s Comment function to show counts in real time. The author says the code includes explanatory notes, but the document excerpt contains no code, order-type definitions, or demonstration details beyond mentioning a video. It therefore presents a small monitoring concept rather than a trading strategy, and gives no evidence about reliability, platform versions, or behavior in edge cases.

Key ideas

  • An Expert Advisor may need to track several simultaneous open orders.
  • The described utility counts open orders overall and by order type.
  • The Comment function is used to display counts in real time.
  • The excerpt omits the actual code and does not document validation or edge cases.

Tags

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