MMD Close All - Panic Close

The free MMD Close All script for MT4/MT5 is the ultimate "panic button" for traders. With one drag-and-drop action, it provides complete account liquidation, closing all open positions AND deleting all pending orders across all symbols, instantly achieving a zero-exposure state on your account.

Product information

MMD Close All - Panic Close

MMD Close All (Panic Button) Script

Instantly Liquidate All Positions and Pending Orders Across Your Entire Account!

FREE Script for MT4 & MT5 Users: Download MMD Close All from the "Tools" section on our website. Place it in your Scripts folder for immediate access to an account-wide emergency stop.

The MMD Close All (Panic Button) Script is the ultimate free utility for situations that require immediate and total exit from the market. In the event of a major unexpected news event, a sudden technical issue, or any scenario where you need to instantly flatten your entire account, this script is your emergency "kill switch".

With a single drag-and-drop action, it comprehensively closes every open position and deletes every pending order across all symbols on your account, providing you with the fastest way to achieve a zero-exposure state.

How to Use

  1. Download the script file from the "Tools" section on our website.
  2. In your MetaTrader terminal, go to File > Open Data Folder.
  3. Place the downloaded script file into the MQL5/Scripts (for MT5) or MQL4/Scripts (for MT4) folder.
  4. Refresh your "Navigator" window in MetaTrader, or restart the terminal. The script will appear under the "Scripts" section.
  5. To execute, simply drag the "MMD Close All (Panic Button)" script from the Navigator and drop it onto any chart.

The script will run once, perform its account-wide function, and then remove itself. The action is immediate and affects all symbols.

Key Features & Benefits

  • Complete Account Liquidation: This is the script's core function. It closes all open positions (longs, shorts, profitable, and losing) AND deletes all pending orders across your entire account.
  • Account-Wide Scope: Unlike other closing scripts, this tool is not limited to a single symbol. It acts on every instrument in your terminal, making it a true "panic button".
  • Zero Configuration: No input parameters to set. In an emergency, there is no time for setup. This script is built for maximum speed.
  • The Ultimate "Panic Button": Designed specifically for emergency situations where you need to exit the market completely and immediately.
  • Simple Drag-and-Drop Execution: The easiest and fastest way to execute a total account-flattening command.
  • Completely Free: A powerful, professional-grade safety tool available at no cost to all registered users.

EXTREME CAUTION ADVISED: This script performs a powerful and irreversible action across your ENTIRE ACCOUNT. It will close ALL open trades and delete ALL pending orders on ALL symbols. Use it only in genuine emergencies. It is strongly recommended to test it on a demo account to fully appreciate its account-wide impact.

Pro Tip: For even faster access in an emergency, you can assign this script to a hotkey in your MetaTrader terminal (Tools > Options > Charts > "Scripts" section).

No DLL Required: This script is self-contained and does not require the installation of any external DLL files.


If you have any questions related to this product or need assistance, write to the email address: support@magiconcharts.com.

We will be happy to answer your questions promptly.