Skip to content
All library documents

Reading Open-Order, Take-Profit, and Stop-Loss Details in an Indicator

Article MQL5 code base

Summary

This indicator displays details associated with an open trading order, including its order type, lot size, profit status, profit-to-loss ratio, and magic number. It also reports take-profit and stop-loss levels in points, the corresponding profit or loss amount, and the account deposit currency.

The document is a short feature description rather than a trading strategy or analysis. It explains which order and exit fields the indicator presents, but does not describe how the values are calculated, how they should guide decisions, or how the indicator handles different instruments or account settings. No test results or evidence of trading benefits are provided. Its usefulness is mainly operational: it summarizes position and exit information for traders monitoring orders.

Key ideas

  • The indicator displays identifying and sizing details for an open order.\nIt shows the profit-to-loss ratio associated with the order.\nTake-profit and stop-loss details include point distances and monetary amounts.\nThe deposit currency is shown alongside the exit amounts.\nThe description does not explain calculations or establish any trading-performance benefit.

Tags

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