Applying Shared Stop-Loss and Take-Profit Levels to Open Orders
Article MQL5 code base
Summary
The document describes a utility for changing stop-loss levels, take-profit levels, or both across all open orders for a selected symbol. The user supplies the desired price levels, and the script applies them to the matching orders.
A zero input leaves that particular setting unchanged, allowing the user to update only the stop or only the take-profit. The document gives no platform details, code, worked example, or evidence about execution behavior, so it does not establish how orders are handled when prices are invalid or markets move during the update.
Key ideas
- The utility targets all open orders for a selected symbol.
- It can update stop-loss levels, take-profit levels, or both.
- A zero input leaves the corresponding existing setting unchanged.
- The document does not explain platform compatibility or order-handling edge cases.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.