MagicCloser

[Product name]
Magic Closer Panel MT5

[Short description]
Close positions in one click, filtered by Magic Number and Symbol. Close Buy / Close Sell / Close All for one EA, your manual trades, or everything.

[Description]
Magic Closer is a compact on-chart panel that closes positions in one click — but only the positions you actually mean.

Running several Expert Advisors on the same account? Mixing EA trades with manual trades? A normal "close all" button closes everything. Magic Closer lets you choose exactly which positions to close by combining two filters: Magic Number and Symbol.

MAIN FEATURES

Magic Number filter
 - All: every position, whatever the magic number
 - Manual (0): only trades you opened by hand
 - Any number: only the positions of one specific EA
 - ◄ / ► cycles through the magic numbers that are currently open, or type any number directly in the box

Symbol filter
 - All symbols: every symbol on the account
 - Chart symbol: one click to select the symbol of the current chart
 - ◄ / ► cycles through all symbols with open positions
 - Type any symbol name directly (e.g. EURUSD, XAUUSD)

Three close buttons
 - Close Buy: closes only the BUY positions that match the filter
 - Close Sell: closes only the SELL positions that match the filter
 - Close All: closes all matching positions (optionally also deletes matching pending orders)

Live information
 - Number of positions, total lots and floating P/L (incl. swap) for Buy, Sell and Total, updated in real time
 - The number of target positions is shown on each button, so you always know what will be closed

Safety and reliability
 - Confirmation dialog before every close, showing the magic number, symbol and number of positions
 - Extra warning when "All magics × All symbols" is selected
 - Automatic retry when a close request fails (number of retries is configurable)
 - Maximum slippage setting; filling mode is selected automatically for each symbol
 - Clear result in the Experts log: number of positions closed and failed

EXAMPLES
 - Magic 1001 × XAUUSD → closes only EA #1001's gold positions
 - Manual (0) × EURUSD → closes only your manual EURUSD trades
 - Magic 2002 × All symbols → closes EA #2002 on every symbol
 - All × All symbols → closes everything on the account

HOW TO USE
 1. Attach Magic Closer to any chart (one chart is enough to manage the whole account).
 2. Enable "Algo Trading" in the terminal and "Allow Algo Trading" in the EA properties.
 3. Choose the Magic Number and the Symbol on the panel.
 4. Check the counts and P/L, then press Close Buy, Close Sell or Close All.
 5. Confirm in the dialog. The result is written to the Experts log.

INPUT PARAMETERS
Default filter
 - Default magic (-1 = All, 0 = Manual): magic number selected when the panel starts
 - Default symbol: empty = chart symbol, ALL = all symbols, or a symbol name such as XAUUSD
Closing
 - Show confirmation dialog before closing (default: true)
 - "Close All" also deletes pending orders (default: false)
 - Max slippage (points) (default: 30)
 - Retries on failed close (default: 3)
Panel
 - Panel position X / Y (px)
 - Font size

NOTES
 - Magic Closer does not open trades. It only closes positions (and, if enabled, deletes pending orders) when you press a button.
 - Works on hedging and netting accounts, with any broker and any symbol (Forex, Gold, Indices, Crypto, CFDs).
 - Positions opened manually have magic number 0. Positions opened by an EA use that EA's magic number (see the EA's settings or the "Magic" column in your trading history).
 - The panel does not use DLLs and does not connect to the internet.
 - Market orders can only be closed while the market is open. If the market is closed, the result is shown in the log.
 - In the Strategy Tester the confirmation dialog is skipped automatically.

If you have any questions or feature requests, please send me a private message on MQL5.

Plus de l'auteur
================================================================== PRODUCT NAME ================================================================== Total PL Close Manager MT5 ( "Basket TP SL Manager MT5" / "TotalPL Force Close MT5") ================================================================== DESCRIPTION ================================================================== Total PL Close Manager is a trade-management utility for MetaTrader 5. It watches the combined profit and loss of the
Filtrer:
Aucun avis
Répondre à l'avis