Skip to content
All library documents

Closing and Deleting Multi-Currency EA Orders by Comment

Article MQL5 code base

Summary

This brief description explains an expert advisor utility for closing or deleting orders, including orders associated with a multi-currency EA. It identifies orders through their comment text and supports matching an EA comment by prefix or suffix. If the EA comment input is left empty, the utility instead closes orders according to the selected close type.

The document outlines order selection and handling behavior, but does not specify the available close types, provide implementation details, or show tests or trading results. It is an operational tool description rather than a strategy: it teaches how comment-based identification can help manage orders across currencies, while leaving important behavior and edge cases unexplained.

Key ideas

  • The utility can close or delete orders associated with a multi-currency expert advisor.
  • It uses order comments to identify which positions or orders to manage.
  • EA comments can be matched using either a prefix or a suffix.
  • When the comment input is empty, the selected close type determines which orders are closed.
  • The description gives no performance results or detailed definition of close types.

Tags

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