SignalX Basket Close Guard
- Utilities
- Ahmed Ismail Muhammad Ismail Al Talhat
- Version: 1.0
- Activations: 5
What this is
Judging a set of open trades one ticket at a time hides the only number that matters to the account: the total. Five positions each slightly in the red can be a book that should be exited, and one large winner can be paying for four losers while every individual position still looks acceptable. This expert adds up the floating result of every position on the account, optionally filtered to one symbol or one magic number, and closes the whole basket when the combined figure reaches a profit target or a loss limit you set in money or in percent of balance.
What it does
Watches the summed profit of every open position, optionally filtered by symbol or magic, and closes the basket at a money or percent-of-balance target or loss limit.
- Judges the aggregate instead of one ticket: five slightly-red positions can be a basket that should be exited, and one big winner can be paying for four losers. Only ever looks at the total.
- Runs on a single chart; it does not need to be the chart you trade from.
- No DLL calls. No external services. No network requests.
- No account, terminal, symbol or time limitation is embedded.
Inputs
| Input | Type | Default |
|---|---|---|
| InpProfitTarget | double | 100.0 |
| InpUseLossLimit | bool | true |
| InpLossLimit | double | 150.0 |
| InpOnlyThisSymbol | bool | false |
| InpMagicFilter | int | -1 |
| InpCloseOnlyProfit | bool | false |
| InpRetrySeconds | int | 30 |
| InpShowPanel | bool | true |
| InpAlertOnClose | bool | true |
How to use it
- Attach the EA to a chart of the symbol you trade.
- Set the inputs to match your own risk approach. Defaults are deliberately conservative.
- Allow live trading in the Expert Advisors settings for this EA.
- Test on a demo account first. That is not a formality; the defaults are not tuned to your broker.
Notes
- Written for MetaTrader 4, any broker, any account currency. Sizing maths uses the symbol's own tick value.
- Coexists with other tools on the same account; it only touches what you point it at.
- It performs management and measurement only; it does not generate trading signals.
Honest limits
- This is a tool, not a strategy. It does not predict anything and it cannot make a losing method profitable.
- No performance figures are published for it because tools of this kind do not have a meaningful backtest curve of their own.
- If your broker quotes oddly (very wide spreads, non-standard tick values) verify the sizing on a demo account before using real funds.
Trading involves risk of loss. Nothing here is financial advice.
