In this page you can download the FREE MT4 Expert Advisor to Close All Trades at once. This script for Metatrader makes it easy and quick to close all positions and orders with one button click.
Download Close All Trades For MT4
You can download Close All Trades for MT4 for FREE from the following pages.
Please note that Close All Trades for the Metatrader Platform and you will need to have the platform already installed to use it.
The utility isavailable for Free Download, links below.
The tool is easy to use and allows to do everything through drag and drop on chart.

You can download the following indicators from the respective pages in the links below:
MT4 Close All Trades Features
MT4 Close All Trades is a smart MetaTrader 4 utility that allows traders to close multiple positions at once, instantly and safely, using a simple visual panel.
Instead of manually closing positions or running clunky scripts, traders can now filter and manage closures with a single click.
Visual Trade Management
No coding or hotkeys required, just a clean, interactive panel directly on your MT4 chart. Buttons, dropdowns, and filters make it easy to select which trades to close.
Flexible Trade Filters
Choose exactly what you want to close:
- By symbol: All symbols or only the one on your current chart
- By order type: Open positions, pending orders, or both
- By direction: Long (buy), short (sell), or all
- By profitability: Only profitable positions, only losing ones, or everything
- By magic number: Target orders opened by specific EAs or strategies
Safe Execution with Slippage & Retry Logic
Includes built-in slippage protection to avoid bad closes in fast markets. If an order fails to close, the tool retries up to 3 times automatically.
Auto-Adaptive Panel
The tool adjusts its layout based on your chart size. Font and button scaling ensures readability on any screen—from laptops to multi-monitor setups.
User Guidance
Each filter has a tooltip so you always know what it does. A reset button is included to quickly restore all filters to default.
Close All Positions for MT4 Parameters
The Close All Positions EA gives you full control over how it behaves on your chart. No code required, just set your preferences once and trade efficiently.
- Symbol Scope – Decide whether to close trades on the active chart symbol or across all instruments
- Order Type Filter – Choose to close only open positions, only pending orders, or both
- Direction Filter – Select between long (buy), short (sell), or all trades
- Profit Filter – Focus on profitable trades, losing trades, or both
- Magic Number – Filter trades by expert advisor ID (magic number)
- Slippage Limit – Set a maximum slippage allowed when closing positions
- Panel & Font Size – Customize the size of the GUI panel and its text
- Panel Position – Adjust horizontal and vertical offsets to place the panel exactly where you want it
MT4 Close All Positions Installation
You can set it up easily.
- Visit MT4Gadgets.com and download the indicator file.
- Save it to your MT4 MQL4\Experts folder.
- Refresh the MetaTrader platform.
- Attach it to your chart from the Navigator panel.
- Adjust settings in the indicator properties.
- Test it on a demo account first.
- You’ll be ready to trade in minutes.
Why Multiple Positions?
Metatrader is one of the most popular trading platform for retail traders.
It is very common for traders to handle several orders and positions at once.
Just to clarify the terminology, let’s define a Positions and an Order.
Position VS Order
An order, the short form of “Pending Order”, is an operation to buy (long) or sell (short) that hasn’t been executed yet.
A pending order is waiting for the price to hit the level selected by the traded to trigger the action of buying or selling.
A Position, or also called an open order, is a running trade that is currently open and executed, and it is subject to a profit or loss with the fluctuation of price.
Handling Multiple Orders
As mentioned, it is quite common for a trader to be handling multiple orders or multiple positions.
Depending on the trader experience and strategies used there may be a few or several positions running at the same time.
Also, some strategies use layered pending orders to scale in and out of positions at different price levels.
Close All Positions And Delete All Orders
There are cases where it may be necessary to exit from all positions at once.
The same can happen with orders, where you would want to delete all of the pending orders quickly.
MT4 and MT5 do not have a feature to close all of the trades and positions and orders at once.
In this case you would need to proceed closing all of the positions individually and delete all of the orders one-by-one.
Who Should Use The Close All Positions Tool?
MT4 Close All Trades is perfect for:
- Traders who need to close positions quickly in high-volatility environments
- Risk managers looking to clean up trades before major news or session close
- EA users wanting manual control over specific trades by filtering via magic number
- Manual traders who prefer GUI tools over scripts or hotkeys
- Multi-strategy traders juggling different EAs, symbols, and trade types

Summary
In this article you learned more about handling several positions and orders at once.
We shared the Close All Trades for MT4 and provided download links
Close All Trades FAQ
Why multiple positions?
Traders of different level usually handle multiple positions and orders at the same time.
Managing multiple orders and trades is very common and the quantity may depend on the strategies used.
When to close multiple trades?
Closing multiple positions at once may be necessary in some cases like high volatility, events and so on.
The same way, sometimes it is useful to delete several pending orders at once.
How to close multiple positions at once?
In metatrader you can close multiple positions and delete orders one-by-one.
Handling this task one at a time can be time consuming and external tools like Close All Trades for MT4 and MT5 may be useful.
Close All Trades For MT4 and MT5
Close All Trades for MT4 and MT5 is an expert advisor, or an advanced script, to close multiple positions and delete multiple orders at once.
You can set custom filters to select which positions and orders to close.
The script will scan through the trades and only close the positions and orders matching the selected criteria.
If you wish to provide feedback or for any help please Contact Us.


