Close All Filter
- Utilità
- Muhammad Fadhlan
- Versione: 1.0
- Attivazioni: 5
Berikut adalah versi deskripsi produk Close All Filter yang sudah diformat khusus untuk dipublikasikan di MQL5 Market:
📌 Close All Filter for MetaTrader 5
Version: 1.00
Author: Muhammad Fadhlan
🧩 Overview
Close All Filter is a powerful yet simple script for MetaTrader 5 that helps traders close multiple positions in bulk based on specific filters. Whether you want to lock in profits, cut losses, or clean up trades from a specific symbol or time period, this tool gives you full control in just one click.
✅ Key Features:
-
Close all open positions instantly
-
Filter by profit condition:
-
All positions
-
Profitable positions only
-
Losing positions only
-
-
Filter by specific symbol (e.g., close only EURUSD trades)
-
Filter by time — close positions opened before a specific datetime
-
Compatible with all trading accounts and brokers
⚙️ Input Parameters:
-
ProfitFilter : Choose between ALL / PROFIT / LOSS
-
SpecificSymbol : Leave blank to apply to all symbols, or specify one (see note below)
-
UseTimeFilter : Enable or disable time-based filtering
-
TimeBefore : Set the time limit for filtering old positions
💡 How to Use:
-
Load the script on any chart in MetaTrader 5.
-
Configure the input parameters according to your needs.
-
Run the script — matching trades will be closed automatically.
🔔 Important Notes:
-
When using the symbol filter, enter the symbol in uppercase format (e.g., XAUUSD instead of xauusd ).
-
Always test the script in a demo account first to verify compatibility with your broker’s settings and trading conditions.
📎 Recommended For:
-
Manual traders looking to simplify position management
-
Scalpers and intraday traders closing out filtered trades
-
Portfolio managers performing risk adjustments

