Close All Trades MT4
Magic-Number-scoped close-all utility · MT4
About Close All Trades MT4
The Close All Trades MT4 utility, listed on the MQL5 Market, closes all open trades sharing the same Magic Number on the same pair — giving traders targeted control to close a specific EA's positions without affecting unrelated manual trades or other EAs running on the same account.
To use any close-all tool in MT4, "Allow automated trading" must be enabled under Tools → Options → Expert Advisors, and the AutoTrading button must be active on the main toolbar.
- Platform: MetaTrader 4
- Type: Magic-Number-scoped close-all utility
- Scope: Closes only trades matching a specific Magic Number + pair
- Requirement: AutoTrading must be enabled
- Source: mql5.com · Close All Trades MT4
Key Features
✓ Official MQL5 Market listing — verifiable publisher
✓ Magic-Number scoping avoids accidentally closing unrelated positions from other EAs
⚠ Irreversible once triggered — confirm the correct Magic Number/pair scope before running