Skip to content
All library documents

Virtual Profit and Loss Levels for Managing Open Trading Orders

Article MQL5 code base

Summary

This utility describes managing each open order with virtual profit and loss thresholds. When an order reaches its configured level, the tool closes it, allowing a trader to apply exit rules without placing a conventional stop loss or take profit order. It can manage orders opened manually or by another automated trading system, so its role is order management rather than trade entry or signal generation.

The update notes mention a trailing stop option that can activate after a specified pip move and an expansion to handling as many as 100 orders with separate levels. These details describe features, not evidence of trading performance. The document does not explain how virtual levels behave during connectivity failures, platform downtime, gaps, or fast markets, nor does it specify execution mechanics. Because the thresholds are virtual, their effectiveness depends on the tool being active and able to respond when the condition is reached.

Key ideas

  • The utility closes orders when they reach configured virtual profit or loss levels.
  • It is intended to manage manually opened orders as well as orders from another automated system.
  • A trailing stop can be activated after a specified pip movement.
  • The described version can manage up to 100 orders with different levels.
  • The document gives feature notes but no performance evidence or execution details.

Tags

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