Take profit - Trailing
The Take profit - Trailing module doesn’t set a take profit (TP) right after an order opens. It waits until the order reaches a loss threshold, then sets the TP and moves it down with the price. Use it to close an order as it recovers from a drawdown.
How it works
Section titled “How it works”- The order opens without a TP (see ‘1’ in the image).
- The loss reaches the Loss threshold (see ‘2’ in the image).
- The TP is set at the open price − Trail start value, and moves down as the order makes new lows (see ‘3’ in the image).
- When the price recovers and hits the TP, the module closes the order.
The TP of a buy order is set above the current price, not necessarily above the open price. So the order can be in loss when the TP is hit. For a sell order, everything is reversed.
Settings
Section titled “Settings”- Name: optional, tells this module apart from others of the same kind. See Name.
- Loss threshold (pips): the loss an order must reach before the TP is set. Before that, the module has no effect. Example: with 30, the TP is set (and the trailing starts) at 30 pips of loss.
- Trail start value: where the TP starts, in pips of loss: TP = open price − Trail start value. With 20 the order closes as soon as it is back at 20 pips of loss; with 0 the TP is at break-even; with -10 at 10 pips of profit.
- Trail step size: how much the TP moves down for every pip of new loss. With 1 it moves 1 pip; with 2 it moves 2 pips.
Related
Section titled “Related”- Take profit - Conditional: a TP that starts on a condition
- Stop loss - Trailing: the common trail, below the price
- Take profit: a fixed TP from the start
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.