Discover expert developed MetaTrader tools that can complement professional solutions.
This utility works on positions that are already open, whether you opened them by hand or with another Expert Advisor. When the price gets close to the take profit, instead of letting the trade close there, it starts a trailing stop so the trade can keep running while part of the profit is protected. It never opens or closes trades by itself: it only changes the stop loss and the take profit of existing positions.
What it does
- Waits for the take-profit zone. For each position that has a take profit, it measures the way from the entry price to the take profit. When the price has covered the percentage you choose (default 90%), trailing starts.
- Handles the take profit. You choose: remove it, move it further away by a percentage of the original distance, or keep it.
- Trails the stop. The stop follows the price at a fixed distance in points, or at a percentage of the original take-profit distance. It is never moved backwards, it only changes when it improves by at least the minimum step, and it respects the broker's minimum stop distance.
Inputs
- Start at this % of the way from entry to take profit (1-99)
- Trailing distance in points, or as a % of the original take-profit distance
- Minimum step to move the stop
- Take profit action: remove, extend or keep (and the extension %)
- Positions to manage: this chart's symbol or all symbols
- Magic number filter (-1 = any, 0 = manual trades only)
- Status panel on the chart
Things to know
- The take profit is stored on the broker's server and closes the trade as soon as the price touches it. That is why the tool must start before 100% of the way; the start value is limited to 1-99%.
- A position without a take profit is ignored, because there is no level to work from.
- The tool remembers which positions are already trailing in terminal global variables, so restarting the terminal does not lose them. It only works while the terminal is running with Algo Trading enabled.
- If the broker rejects a change (for example, market closed), it waits 60 seconds before trying again.
- A gap or a fast market can jump over the stop: the exit price is not guaranteed.
How it was tested
MetaTrader 5 Strategy Tester, EURUSD, real ticks, September-October 2026, with an internal copy that opens test trades only to exercise the tool: 77 test trades, trailing started on 40 of them, 353 further stop moves, 0 backward moves. This is a functionality test, not a profitability claim.
Test it on a demo account first.
Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.
Not financial advice. Past results do not guarantee future results.
Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.
80044