Basket Guard
- 유틸리티
- 버전: 1.0
Basket Guard watches a basket of open positions — all of them, one Magic number or a list of symbols — and closes the whole basket when its floating loss or profit reaches a percent of balance. It works next to any Expert Advisor or manual trading.
Features
- Loss stop for the basket in % of balance
- Optional profit target in % of balance
- Close positions older than N days
- Lock after a loss stop: new positions in the basket are closed until the next day
- Filter by Magic number and by symbols
- Clear panel on the chart: floating result, risk bar to the loss stop, status
- Hedging and netting accounts
Inputs
- Magic number to watch (-1 = all positions)
- Symbols to watch, separated by ';' (empty = all)
- Close basket at loss, % of balance (0 = off). Default: 10
- Close basket at profit, % of balance (0 = off)
- Close positions older than N days (0 = off)
- After loss stop: close new positions until next day
- Max price deviation, points
- Show information panel
- Panel accent color
- Panel corner (default: right upper)
- Panel offset X / Y, px
How to use
Attach Basket Guard to any chart of the same account where your EA trades. Allow algo trading. One copy watches positions on all symbols.
Note
Basket Guard closes positions at market. In fast markets the result can be worse than the set percent.
More of my Expert Advisors: https://www.mql5.com/en/users/roman_zif/seller
