Close All Positions At Profit Target EA
Basket trade-management utility · Community-documented, incl. known caveats · MT4
About Close All Positions At Profit Target EA
The Close All Positions At Profit Target EA, extensively discussed on MQL5's own forums and Forex Factory, is a MetaTrader 4 trade-management utility that monitors ALL open positions on an account — across one or multiple pairs — and closes the entire basket once their combined profit reaches a trader-defined target.
Community threads (including a well-documented "EA fix" thread) show this utility has a long track record of real-world use, along with genuine, documented caveats: some users reported the EA closing the basket while at a net loss during fast-moving/gapping markets, and slippage during volatility can cause closures outside the intended target range. A common requested modification is switching the profit target from a dollar-value setting to a pip-based one.
- Platform: MetaTrader 4
- Type: Basket trade-management utility (not an entry-signal EA)
- Function: Closes all open positions once combined account profit hits a set target
- Known limitation: Can misfire during high volatility/slippage — verify settings and test on demo first
- Source: mql5.com forum · EA close all positions at profit target