Multi Close Manager
- Utilities
- Version: 6.4
Multi Close Manager is a MetaTrader 5 trade management utility designed to manage existing positions without opening new trades.
The utility can be used with manually opened positions or positions opened by another Expert Advisor. It provides several independent position-closing methods, stop management, take-profit management, Telegram notifications, scheduled protection zones and an on-chart emergency close button.
The individual management functions can be enabled or disabled separately, allowing the user to build a simple or more detailed position-management configuration.
Main Functions
- Manage existing positions without automatic trade entry
- Manage all positions, manual positions only, or positions with a selected Magic Number
- DI / ADX based position management
- First DI Rise Telegram notifications
- Independent ADX period for First DI Rise alerts
- DI Cross close
- DI Rise close
- Heikin Ashi close
- Standard candle direction close
- Stochastic live touch close
- Live or candle-close signal modes where available
- Fixed Stop Loss management
- Trailing Stop management
- Fixed Take Profit management
- Moving live Take Profit
- End Candle Close
- Configurable scheduled protection zones
- Telegram close notifications
- Telegram zone notifications
- On-chart KILL PAIR emergency button
- Optional pending-order deletion through the KILL PAIR function
Position Selection
Multi Close Manager works on the symbol of the chart to which it is attached.
The position filter can be configured in three modes:
All Positions
Manages applicable positions on the current symbol.
Magic Number Only
Manages only positions using the selected Magic Number.
Manual Positions Only
Manages positions with Magic Number 0.
This allows the manager to be used with manual trading as well as together with other Expert Advisors.
DI and ADX Management
The manager contains several independent DI / ADX functions.
DI Cross Alerts
The standard DI alert system can monitor crossings between +DI and -DI.
A minimum DI spread can be configured to prevent alerts when the distance between the two DI lines is too small.
The alert can operate using live values or completed candle values.
First DI Rise Alert
The First DI Rise system is a separate directional-flow notification engine.
It can use its own ADX period independently from the main DI / ADX settings.
When a new directional DI flow begins, the manager can send one Telegram notification for the first valid DI rise.
Further rises in the same directional flow are ignored. A new notification becomes available when the opposite DI flow begins.
Optional settings include:
First_DI_Rise_ADX_Period
Independent ADX / DI period used for this alert.
First_DI_Rise_MinRise
Minimum required DI increase.
First_DI_Rise_MinADX
Optional minimum ADX value.
The Telegram message starts with DI+ FIRST RISE or DI- FIRST RISE, making the direction immediately visible in the notification.
Close Engine
The main Close Engine can be set to:
None
No primary close engine.
DI
Uses DI crossing logic to manage opposite positions.
HA
Uses Heikin Ashi directional changes.
STD
Uses standard candle direction.
Additional DI, HA and STD close functions can also be enabled independently.
This makes it possible to use a single close method or combine multiple exit conditions.
DI Rise Close
The independent DI Rise Close can close a position when the opposing DI line begins to rise.
For a BUY position, rising -DI can be used as the close condition.
For a SELL position, rising +DI can be used as the close condition.
This module has its own:
ADX period
Live or candle-close mode
Minimum DI rise
Minimum ADX value
Optional DI dominance requirement
Minimum dominance spread
Stochastic Live Touch Close
An independent Stochastic close module is included.
For BUY positions, the manager can react when %K approaches or touches %D from above.
For SELL positions, the manager can react when %K approaches or touches %D from below.
The Stochastic settings include:
K Period
D Period
Slowing
MA Method
Price Field
Touch Tolerance
Minimum K Movement
Required K Direction
This close function operates independently from the DI, Heikin Ashi and standard-candle close modules.
Heikin Ashi Close
The Heikin Ashi close module supports three modes:
Live
Responds to a live Heikin Ashi directional flip.
Delay
Requires the live directional change to remain valid for the configured number of seconds.
Candle Close
Uses the completed candle to confirm the directional change.
Standard Candle Close
The standard-candle module uses normal candle direction.
A bullish candle can be used to close managed SELL positions.
A bearish candle can be used to close managed BUY positions.
The function can operate live or on completed candles.
A minimum candle-body size can also be configured.
Trailing Stop
Multi Close Manager includes an optional trailing-stop system.
The trailing stop can work:
Live — based on the current market price.
or
By Candle — updated according to completed candle processing.
The trailing distance is configured in points.
The manager only moves the stop in the direction that improves the protected position.
Fixed Stop Loss Manager
The Fixed SL Manager can automatically place a Stop Loss at a defined number of points from the position's opening price.
For BUY positions:
SL = Open Price - Fixed SL Points
For SELL positions:
SL = Open Price + Fixed SL Points
The manager checks the broker's minimum stop and freeze distances before modifying the position.
The option FixedSL_OnlyWhenNoSL can be used to apply the fixed SL only to positions that do not already have a Stop Loss.
This can prevent the manager from replacing a manually adjusted Stop Loss.
Take Profit Management
The Take Profit module supports two operating methods.
Fixed Take Profit
The TP is calculated from the original opening price.
For BUY positions:
TP = Open Price + TP Points
For SELL positions:
TP = Open Price - TP Points
An option is available to preserve an existing manually adjusted TP.
Live Take Profit
The live TP can move with price while maintaining the configured distance.
For BUY positions, the TP can move upward.
For SELL positions, the TP can move downward.
The TP can optionally be updated only when the position is already in profit.
Broker stop-distance and freeze-level requirements are taken into account before a modification is sent.
End Candle Close
The End Candle Close function can close managed positions shortly before the current candle ends.
The user selects the number of seconds before candle close.
For example:
1 second before candle close
The function follows the timeframe selected in the manager settings.
Scheduled Protection Zones
Three configurable time zones are available.
Each zone contains:
Enable / Disable
Start Time
End Time
Custom Zone Name
When an enabled zone begins, managed positions can be closed and the manager remains paused while the zone is active.
The zones are manually configured by the user and are not an automatic economic-calendar service.
They can be used for scheduled events or any period during which the user does not want the manager to continue normal position management.
Telegram Notifications
Multi Close Manager supports Telegram notifications.
Available notification functions include:
First DI Rise alerts
Position close notifications
Protection-zone notifications
The First DI Rise notification system is independent from the general close and zone notification settings.
A Telegram Bot Token and Chat ID are required.
MetaTrader 5 must also be configured to allow WebRequest access to the Telegram API.
KILL PAIR Emergency Button
An optional KILL PAIR button can be displayed directly on the chart.
When pressed, it attempts to close matching open positions on the current chart symbol.
The Kill Switch can be configured to:
Close all positions on the current symbol
or
Close only positions matching a selected Magic Number
Pending orders for the same symbol can also be deleted when this option is enabled.
Button position, size, text and colors can be customized.
Important Usage Information
Multi Close Manager does not automatically open market positions.
It is designed to manage positions that already exist.
Several independent closing and position-management functions are available. Enabling multiple close modules at the same time means that the first valid enabled condition may close the position.
Users should therefore test their selected combination of settings before applying it to a live account.
Point values depend on the symbol specifications provided by the broker. A setting such as 300 points can represent a different price distance on different instruments.
Telegram notifications require an active internet connection and correctly configured MetaTrader 5 WebRequest permissions.
The utility does not guarantee trading results and does not predict future market direction.
Compatibility
Designed for:
MetaTrader 5
The manager can be attached to different symbols and timeframes. Each chart instance manages the symbol to which it is attached according to the selected position filter and input settings.
Summary
Multi Close Manager combines several position-management methods in one configurable MetaTrader 5 utility.
The user can choose which functions are required and disable the others, ranging from basic Stop Loss, Take Profit and trailing management to DI / ADX monitoring, Heikin Ashi exits, Stochastic exits, timed candle closing, Telegram alerts, protection zones and an emergency KILL PAIR button.
