Moving Multiple Positions to Breakeven by Profit Threshold or Price
Summary
The document describes a MetaTrader 5 script for moving several open positions to breakeven after trades become favorable. Traders can choose either a profit-points threshold or a target price to trigger the adjustment. The two trigger methods are alternatives: the selected method takes effect while the other is ignored. The points method uses a stated default of 100 points for a five-digit broker.
The script is intended to protect open trades from turning into losses after they have moved favorably, while leaving them able to reach a profit target. An update mentions broker execution fixes, more detailed error descriptions, and filtering trades by magic number. The document gives no performance tests, trade-management comparisons, or details about how the script handles commissions, swaps, slippage, or partial fills. Breakeven handling may therefore differ from a truly flat net result when trading costs apply.
Key ideas
- The script can adjust multiple open positions to breakeven after a favorable move.
- The trigger can be set using a profit-points threshold or a target price.
- Only the selected trigger method is effective at a time.
- The points method has a stated default of 100 points for a five-digit broker.
- A magic-number filter is available to limit which trades are managed.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.