Breakeven Trail Commander
- Utilitaires
- Version: 1.0
- Activations: 5
Trade manager for MT5: moves stops to break-even, closes part of the position at a profit level and trails the stop by ATR, fixed distance or recent candles.
Breakeven Trail Commander is a trading utility for MetaTrader 5 - break-even, partial close and trailing stop manager. Your exits on autopilot - break-even, partial profit and trailing, rule by rule. It works on any symbol (designed with XAUUSD / gold in mind) and on hedging and netting accounts.
What it does
- Break-even at a chosen R (R = the trade's own initial stop distance), with a small lock beyond entry.
- Partial close of a chosen % of the position at a chosen R - once per position.
- Trailing stop in three modes: ATR distance, fixed distance in points, or beyond the low / high of the last N candles; starts at a chosen R.
- Panel - managed positions, trailing on/off switch and one-click BE NOW, PARTIAL NOW and CLOSE ALL. Positions without a stop use a default R size.
Safety (built in)
- The tool never uses martingale, grid or averaging down. Orders it opens always carry a stop-loss.
- Lot size from risk % of equity (or a fixed lot), normalised to the broker's min / max / step and reduced if free margin is not enough.
- Stop-loss and take-profit changes respect the broker's stops and freeze levels; no orders or closes are sent while the market is closed.
- Every action is printed to the Experts log so you can see what the tool did and why.
Strategy Tester demo
MetaTrader 5 does not send button clicks in the Strategy Tester, so the free demo runs an automatic demonstration: it opens sample trades every few bars and the tool manages them exactly as it would live. Run it in visual mode to watch the panel. Switch the demo off with the "Strategy Tester: run the automatic demo" input. The demo never runs on a live or demo account.
Inputs
| Input | Default |
|---|---|
| Positions to manage | Manual + panel positions on this symbol |
| Move stop to break-even at this R (0 = off) | 1.0 |
| Break-even lock (points beyond entry) | 10 |
| Close part of the position at this R (0 = off) | 1.0 |
| Part to close (%) | 50 |
| Trailing stop mode | ATR distance |
| Start trailing at this R | 1.5 |
| ATR period (chart timeframe) | 14 |
| ATR trailing distance (x ATR) | 2.0 |
| Fixed trailing distance (points, gold: 100 = 1.00 USD) | 200 |
| Candle trailing: beyond the low / high of this many bars | 3 |
| R size for positions without a stop-loss (points) | 300 |
| Default risk per order (% of equity), used when Fixed lot = 0 | 1.0 |
| Fixed lot (0 = size from risk %) | 0.0 |
| Maximum lot per order (0 = broker maximum) | 10.0 |
| Max slippage (points, 2-digit gold scale: 100 = 1.00 USD) | 30 |
| Magic number of orders opened by this tool | 26102305 |
| Panel X position (pixels) | 20 |
| Panel Y position (pixels) | 30 |
| Strategy Tester: run the automatic demo (opens sample trades) | true |
| Strategy Tester demo: bars between sample trades | 24 |
How to use
- Attach the tool to a chart (allow Algo Trading).
- Set your limits in the inputs; the panel appears in the top-left corner (position adjustable).
- Use the panel buttons; the guard rules run automatically every second, even without ticks.
Important notes
- A utility helps you manage risk - it cannot guarantee profit or prevent every loss (gaps and slippage can move price past any level).
- Test on a demo account first. Times are your broker's server time.
- Keep the terminal running (a VPS is recommended) for the automatic rules to work.
