Close All Pair Script
Single-pair close-all utility · Retry logic + server-overload protection · Free · MT4
About Close All Pair Script
The Close All Pair script/utility, discussed on Forex Peace Army and Forex Factory forums, is a MetaTrader 4 tool that closes all open positions from a single, specific currency pair only — leaving open positions on other pairs untouched. This distinguishes it from a full "close everything" script, giving traders more targeted control.
As with other MT4 close-all tools, community consensus favours using a script rather than a persistent EA for this purpose, since scripts run once and self-remove rather than occupying a chart slot as a running expert. Available implementations typically support filtering orders, sorting them, adding delays between close attempts to avoid overloading the trading server, and retry logic to ensure closure completes even during high volatility.
- Platform: MetaTrader 4
- Type: Single-pair close-all utility script
- Extra logic: Order filtering, retry attempts, server-overload delay protection
- Price: Free
- Source: forexpeacearmy.com · Script/EA for closing all open positions from only one pair