Close All Button and Auto Breakeven
- Experts
- Amado Arnulfo Fernandez Melo
- Versione: 4.80
- Aggiornato: 27 aprile 2026
- Attivazioni: 20
ZST Control Panel — Close All Button and Auto Breakeven | MetaTrader 5
ZST Control Panel is a visual control tool for MetaTrader 5. It places an interactive button panel directly on your chart, allowing you to close positions and apply breakeven with a single click, without navigating any menus.
The panel does not open trades. It acts only on positions that are already open on the current symbol.
Buttons
Close All closes every open position on the current symbol immediately.
Close Profit closes only the positions that are currently showing a positive result.
Close Loss closes only the positions that are currently showing a negative result.
Auto Breakeven is a toggle button. When activated, the panel monitors all open positions continuously. As soon as any position reaches the configured profit amount in dollars, the Stop Loss is moved automatically to lock in that amount. The default is 2.00 dollars and is fully configurable. The button displays in green when active and returns to orange when deactivated.
Design
The panel uses a dark background with orange tones throughout. Buttons are color coded for quick visual identification. The panel position is fully configurable through the X and Y input parameters and can be placed anywhere on the chart.
Input Parameters
- Auto BE Amount USD: minimum profit in dollars to trigger the Auto Breakeven function. Default 2.0
- Panel X Position: horizontal position of the panel on the chart. Default 20
- Panel Y Position: vertical position of the panel on the chart. Default 130
Usage Notes
Attach the panel to the chart of the symbol you want to manage. The four buttons act on all open positions of that symbol. To manage multiple symbols, open one chart per symbol and attach the panel to each one. Auto Trading must be enabled in the terminal for the buttons to execute orders.
Requirements
- MetaTrader 5
- Auto Trading enabled in the terminal
Support is provided through the MQL5 comments section and private messages. Responses within 24 hours.
Designed by ZST. zonastrading.com. All rights reserved.

