Close All Script One-click panic-button close Source-verified data · REAL-DATA-SOURCE · earnforex.com/metatrader-scripts/close-all-orders

Close All Orders Script

One-click close-all-positions utility · Free, open-source · MT4

About Close All Orders Script

The Close All Orders script, documented at earnforex.com, is a free MetaTrader 4 utility (MT5 equivalent: "Close All Positions") that closes every open position with a single click — often called a "panic button." It's distributed with simple filtering options, letting a trader selectively close all positions, or only unprofitable ones ("Close Losses"), across all charts and pairs in the terminal.

As a script rather than an Expert Advisor, it runs once when applied to a chart and then automatically removes itself — the community consensus (per Forex Factory discussions) is that a script is generally the better tool for this job over a persistent "Close All" EA, since it avoids leaving an always-running process on the chart.

Key Features

✓ Free and open-source — simple, auditable logic
✓ Runs once and self-removes — doesn't linger as a background process like a persistent EA would
⚠ Irreversible once triggered — double-check you want to close everything before running it, especially the "close all" (not just "close losses") variant
Download EA WhatsApp Support Telegram Channel