Take profit - Conditional
The Take profit - Conditional module sets a take profit (TP) when a condition becomes true. The TP is set a distance above the current price and can trail the price down. Many traders use it to reduce losses the moment the price retraces back in their favour, or to lower the target when the price moves against them.
How it works
Section titled “How it works”- The order opens without a TP.
- When the Precondition becomes true, the TP is set TP start distance above the current price (see ‘2’ in the image). Then it trails the price down with every new low.
- When the price hits the TP, the order is closed (see ‘3’ in the image).
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: the TP is set below the current price.
Settings
Section titled “Settings”- Name: optional, tells this module apart from others of the same kind. See Name.
- Enabled for: Buy orders, Sell orders or Buy and Sell orders. If buy and sell orders need a different condition, add this module once for buy orders and once for sell orders.
- Precondition (optional): the condition that must be true before the TP is set. Until then the module is inactive. You build it like a signal: see Conditions. Without a precondition, the TP is set the moment the order opens.
- TP start distance (pips): how far the TP is from the current price at the moment the Precondition becomes true: TP = current price (Bid / Ask) + TP start distance.
- Trail step size: how much the TP moves down for every pip of new loss below the order’s previous low. With 1 it moves 1 pip; with 2 it moves 2 pips. With 0 the TP doesn’t trail (see the tip below).
Related
Section titled “Related”- Take profit - Conditional (Pro): a calculated start value, a condition to remove the TP and partial closes
- Stop loss - Conditional: the same for stop loss
- Take profit: a fixed TP from the start
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.