Adaptive Closer MT5
- Utilities
- Version: 6.21
- Updated: 13 October 2026
Free trade manager for MetaTrader 5: risk-based lot size, line orders, partial close, break-even and trailing - plus basket management of every position as one book.
Plan the trade on the chart, see the money before you click, and let one panel look after every position. Free. No paid version, no trial, no DLL, no web requests. Hedging accounts (netting: not yet tested).
| Type | Utility (trade and position manager) |
| Symbols | Any |
| Account | Hedging (Netting: not yet tested, see section 9) |
| Opens trades | Only when you press a button |
Why traders keep it on the chart
- Know the cost before the click. Drag the stop line and the lot, the money at risk, the reward and the R:R update on the panel - in your account currency, JPY included.
- Orders from lines. Drag ENTRY, STOP and TARGET; the entry line becomes a limit or a stop order on its own. Nothing is sent until you press the button. Pair two pending orders as OCO.
- Management that runs by itself. Staged take profit, break-even, trailing, and a real stop on any position that has none - including trades opened from your phone.
- Many positions, one decision. Close everything at a combined target, at combined break-even, or trail the whole side from its average entry.
- A line under the day. A daily loss limit closes what is open and blocks new orders until tomorrow.
- Quiet on the terminal. Redrawn on a timer and only where something changed - never on every tick.
0. In 60 seconds
- In: set your risk (% of balance or an amount), drag the stop line, read the lot and the money, press BUY / SELL - or place a limit or stop order from the lines.
- Out: staged take profit, break-even and trailing run by themselves; CLOSE 50%, BE ALL and per-row buttons when you want to step in.
- Book: every position on the symbol counted together - close all at a combined target, at combined break-even, or at a daily loss limit.
1. What it does
Set your risk as a percentage or an amount, drag a stop line, and the panel shows the lot, the money at risk, the reward and the R:R before you press anything. Send it as a market order, or drag an entry line and it becomes a buy/sell limit or stop. Once the trade is open, the tool takes profit in stages, moves the stop to break-even, trails it, and puts a real protective stop on positions that have none.
The second half is book management. When several tickets are open - by hand, from a phone, or (with the magic filter off) from other Expert Advisors - the result you care about is the combined one. Adaptive Closer can close the book at a combined target per lot, close it at break-even, trail it from the weighted average entry, cap the loss as a share of balance, and stop the day at a daily loss limit.
2. Opening a trade
- Risk: a fixed lot (the default), or one click to percent of balance, percent of equity or a fixed amount. The lot is calculated with the server's own profit calculation, so it is correct on a JPY account, on gold, and on crosses.
- Costs: optionally counts the round-trip commission (you enter it per lot) and one spread in the risk.
- Stop distance in ATR multiples or pips; take profit as an R:R of the stop.
- LINES: an ENTRY, a STOP and up to three TARGET lines on the chart. Drag them; every line shows its price, its distance in points, its money and its R. With PENDING on, the entry line decides between limit and stop automatically.
- The BUY / SELL buttons are greyed out with the reason when the order would be refused: below the minimum lot, not enough margin, spread above your limit, outside your trading window, market closed, daily limit reached.
- A trade risking more than your ceiling (5% by default) needs a second press.
- OCO (new in 6.10): pair two pending orders with the OCO button on their rows; when one is filled the other is deleted. If one is removed without a fill, only the pair is released.
- Keyboard shortcuts (off by default): Shift + B buy, S sell, P place the line order, L lines, E break-even all, C close all, H close 50% (closing keys need a second press, like the buttons). The keys can be changed on the panel.
3. Managing positions
- Position table: every position and pending order the tool manages on the symbol, with profit, stop, target and age. Each row has close, close half and break-even; pending rows have delete.
- Drag a position's stop or target line on the chart to modify it. A level closer than the broker allows is not sent - the line goes back and the panel says why.
- Staged partial close: up to three targets; by default 40% / 30% / the rest.
- Break-even after the first or second target, optionally adding part of the spread.
- Trailing stop that only moves when it improves by at least your step.
- Protective stop placed as a real order at the STOP distance, so it holds while the terminal is closed. By default it also tightens a stop that is wider than that distance (as in earlier versions); choose "If no stop" to leave existing stops alone. A stop you drag by hand is never pulled back.
- CLOSE ALL / CLOSE BUY / CLOSE SELL / CLOSE 50% / CLOSE 25% / BE ALL. Closing buttons act on a second press, with a visible countdown.
- Time limit (new in 6.10, off by default): close a position a set number of minutes after it opened.
4. Managing the book
This is the core of the tool, and every rule is one click on the panel.
- Basket target - close everything once the combined result reaches your figure per 1.0 lot, so one setting means the same at 0.05 and at 5.0 lots.
- Basket break-even - close everything once the combined result reaches a level you choose.
- Basket trailing - trail one side together from the weighted average entry, never past it.
- Equity hard stop - a stop for the net exposure placed so that reaching it costs about the share of balance you set.
- Equity trailing - after a peak, close everything if the book gives back more than you allow.
- Stagnation exit - close part of a position that moved away from its entry (in either direction) and then stopped moving.
The panel shows Buy / Sell / Net lots, combined P/L, the weighted average entries and progress to the basket target; the chart shows the average entry and the price where the basket target would be reached.
5. Account protection
- Daily loss limit as a percentage of the day's starting balance or as an amount, measured on today's change only (a position carried over midnight counts from midnight). When reached it closes the positions and deletes the pending orders in scope - this symbol, or the whole account if you choose - and blocks new orders until the next day (server midnight, adjustable). The limits keep working when AUTO is off.
- Optional daily profit target with the same behaviour.
- Maximum open positions, maximum total lots, maximum spread, trading time window: each one greys out the order buttons instead of letting the server refuse them.
6. It is free, and there is no paid version
Everything described here is in this download. No paid edition, no trial, no lot or account limit, no feature that waits for a purchase. No DLL, no web requests, no licence check.
It is free because I wrote it for my own trading and giving it away costs me nothing. If anything comes back, it is that you have a look at the other things I publish (section 12) - and that is entirely up to you.
7. Built not to lag
The panel is redrawn on a timer (200 ms by default), never on every tick, and only the objects whose value changed are touched. Removing the tool removes every object it drew.
8. Setup
- Drag it onto the chart of the symbol to manage. Allow algorithmic trading.
- The panel appears in the upper left. Book rules and account limits are off until you switch them on. Per-position rules are on and act on positions this panel opened and on hand-opened ones (magic number 0); other Expert Advisors' positions are left alone unless you turn the magic filter off.
- SET opens the settings on the panel: Trade, Position, Book, Guard, Alerts, Panel. A typed value applies at once and is saved per account and symbol - it survives a timeframe change and a terminal restart.
- 11 panel languages, dark and light themes, 80-150% size.
9. Brokers and symbols
Symbol names are read from the chart, so GOLD, XAUUSD, XAUUSD.m or GOLDmicro all work. Digits, filling mode (FOK / IOC / return), stops and freeze levels, volume steps and the account currency are read from the server, not assumed. Checked on Exness (hedging; USD and JPY account currency in the Strategy Tester) and on XM KIWAMI (hedging; JPY account in the Strategy Tester and by hand on a live account).
Netting accounts have not been tested yet; try the tool on a netting demo account first. By design, when a position is already open on the symbol, a new order changes that position instead of opening another, so risk-based sizing is switched off there (the panel says so) and fixed-lot orders are sent without stops, as in earlier versions.
The panel prints what one pip means on the symbol (for example "1 pip = 10 pt (0.010)") so a distance in pips is never ambiguous.
10. Questions
Does it open trades on its own? No. Only when you press a button. It makes no claim about trading results.
Is commission counted? If you enter your commission per lot (Trade tab), it is included in the risk and the reward. Spread can be included too.
My broker calls gold "GOLD". Fine - see section 9.
Does it work on a JPY account? Yes. Amounts are calculated in the account currency by the server and shown without decimals.
Can I use it in the Strategy Tester? Yes, in visual mode every button works. (In the tester only, it opens one minimum-lot demo trade so the run is never empty; this can be switched off and never happens on a real or demo account.)
Does it keep working when the terminal is closed? The stop loss and take profit it places are real orders on the server, so they do. The rules that act at the moment - staged closes, trailing, book rules, daily limits - need the terminal running (a VPS if your computer is off).
Hedging and netting? Hedging: yes. Netting: built for it but not yet tested on a netting account - see section 9.
How is it different from other free trade panels? Most free panels manage one trade at a time. Adaptive Closer adds the book: it counts every position on the symbol together and can close them all at a combined target or at combined break-even, trail a whole side from its average entry, and stop the day at a daily loss limit.
Is there an MT4 version? No, and none is planned right now.
Is there a catch? No - see section 6. Still, start on a demo account: not because of the price, but because any tool that can close positions deserves that.
I used 5.30. Will BUY / SELL change? The lot does not: BUY / SELL still send your fixed lot by default. The stop and target are now sent with the order (at the protective-stop distance and at 2R), where 5.30 added the stop a moment later and took the remainder at TP3 - about the same prices. To size trades from risk instead, set the first button of the TRADE row to "% Bal".
11. Support
- The comments on this page: questions, settings problems, anything that behaves differently on your broker. Please post the broker name, the symbol and the lines the panel's log shows.
- MQL5 private messages to the author: anything specific to your account.
- Each new version is announced in the comments with what changed.
- Answers in English and Japanese.
12. More from the author
Gold (XAUUSD), from the full set to a single behaviour:
- Gold Grand Line MT5: 6 groups on one chart, 29 active facets. It contains the Gold Nine Layer, Gold Swing Break and Gold Flash Scalper engines (same rules and tables) plus three groups that are not sold separately on MQL5. Triple Trigger is not part of it.
- Gold Nine Layer: a nine-slot pivot-breakout group on one chart (7 slots active in the default tables).
- Triple Trigger MT5: breakouts of the 24, 48 and 72-hour rolling high/low, trailing exits.
- Gold Swing Break MT5: one H4 swing breakout, one position at a time, low frequency.
Separate lines:
- Gold Flash Scalper MT5: 32-hour channel breakout on gold, one position, fast trailing stop.
- OIL Surge Break MT5: WTI crude oil (USOIL) H1 pivot breakouts.
- Relay Grid MT5: AUDNZD / AUDCAD / NZDCAD mean-reversion grid whose lot grows with each level (martingale-type), no stop loss by default. The only grid in the lineup; every other Expert Advisor above uses a fixed lot with no averaging down and no martingale.
Please read before using
- This tool manages positions. It does not decide when to enter and promises no result.
- Rules that close the whole book or the whole account are powerful and off by default. Try them on a demo account and watch one trigger before trusting them with real money.
- The equity hard stop and the daily loss limit are not a replacement for your broker's stop-out or negative balance protection.
If it has been useful to you for free, a one-line review helps me keep building free tools. If something does not work, please tell me in the comments or by private message first - I fix those first.

