Take profit - Conditional (Pro)
The Take profit - Conditional (Pro) module sets a take profit (TP) when a condition becomes true, at a value you calculate yourself. It can trail the TP down, remove it again on another condition and close only part of a position. Many traders use it to reduce losses the moment the price retraces back in their favour. It needs a Pro subscription.
How it works
Section titled “How it works”- The order opens without a TP (see ‘1’ in the image).
- When the Precondition becomes true, the TP is set at the TP start value + TP offset (see ‘2’ in the image). Then it trails the price down with every new low.
- When the price hits the TP, the module closes the Close percentage of the position (see ‘3’ in the image).
- If When to remove TP becomes true before that, the TP is removed again.
The TP of a buy order is set anywhere you want 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.
- 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. Without a precondition, the TP is set the moment the order opens. See Conditions.
- TP start value: the price of the TP, any value or calculation, for example
High | S1. You build it like an Advanced Condition. - When to remove TP (optional): a condition that removes the TP again.
- TP offset (pips): moves the TP away from the TP start value, to adjust where it starts.
- 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. With 0 the TP doesn’t trail (see the tip below).
- Close percentage: the part of the position this module closes. With 1 lot and 50, it closes 0.5 lot. A second module with 50 then closes 0.25 lot: 50% of the remaining 0.5 lot. Use 100 to close the entire position.
- Reuse module after partial close: with a Close percentage below 100, whether this module can act again on the same order when the precondition is true again.
Related
Section titled “Related”- Take profit - Conditional: the same without a calculated value or partial close
- Stop loss - Conditional (Pro): the same for stop loss
- Operands: values to calculate the TP start value with
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.