CloseAll Script
Close all positions instantly
The CloseAll Script is a versatile order management tool designed to give you full control over closing positions on MetaTrader 4. With flexible filtering options, you can close specific groups of orders instantly with a single execution.
Key Features
- Multiple Close Modes: Choose from 6 different closing options: all orders, instant orders only, pending orders only, orders by comment, profitable orders only, or losing orders only.
- Selective Closing: Filter orders by comment to close only specific strategies or setups.
- Instant Execution: Closes all matching orders immediately with no manual clicks required.
- Risk Management: Quickly exit all losing positions or secure all profitable trades in emergency situations.
Installation Guide
Download the file and place it in your MetaTrader 4 'Scripts' folder (not Experts). Restart your terminal, and you will find it in the Navigator window under Scripts. Drag and drop it onto any chart and select your preferred closing mode from the inputs before execution.