Ballast Exit Manager MT4
- Utilitaires
- Version: 1.0
- Activations: 10
Manages your open trades for you: break-even, partial profit, ATR trailing stop and time exit — measured in R, never loosening a stop.
Opening a trade is the easy part. Ballast Exit Manager handles the rest, the same way every time, for manual trades and trades from other EAs.
Everything is measured in R = the trade's initial risk (the distance from entry to the first stop-loss). A trade at +1R has made as much as it risked.
- Break-even — at +1R (default) the stop moves to the entry price plus a small locked profit.
- Partial close — at +1R, close 50% (default) of the trade. Done once per trade.
- Trailing stop — from +1.5R the stop follows price at 1 × ATR(14) (the market's recent average bar size).
- Time exit — optionally close trades still open after N hours.
Safety rules built in:
- The stop is only ever tightened, never moved back.
- Changes that the broker would reject (too close to price) are skipped and retried later.
- Its memory of each trade survives a terminal restart.
- Trades without a stop-loss are shown in red; their R is estimated from ATR.
Tested on MT4 (every tick; EURUSD 1 year, Gold 7 months)
Every action was checked as it happened: 1,379 stop changes and 191 partial closes; 0 stops loosened, 0 moves before the R level, 0 double partial closes, 0 wrong partial volumes, 0 remainders that lost their R after a partial close.
- Time exit at 6 hours: longest trade held exactly 6:00:00.
- The trailing stop moves in steps of 10% of the trail distance, so the broker gets few modification requests (about 600 in 7 months on Gold instead of tens of thousands).
- 8 symbol/timeframe/deposit validation combinations without errors.
Inputs
- Manage trades on — This chart's symbol (or all symbols)
- Only this magic number — -1 = all, 0 = manual only
- Break-even at (R) / locked points — 1.0 / 10
- Partial close at (R) / percent — 1.0 / 50
- Trail from (R) / ATR multiple / ATR timeframe — 1.5 / 1.0 / H1
- Time exit (hours) — 0 = off
- R for trades without a stop (× ATR) — 1.0
- Font size, panel corner — 9, top left
Notes
- Any stage can be switched off with 0.
- In the Strategy Tester (demo), Ballast Exit Manager opens one demo trade a day with a 1 × ATR stop so you can watch every stage.
- MT4 gives the rest of a partly closed trade a new ticket ("from #..."); Exit Manager carries its R and partial-close memory over to it automatically.
- This is the MT4 version. The MT5 version is a separate product on the Market.
