Aggregate Take Profit

Manage the profit target for a group of trades as a single aggregated position by calculating a unified take-profit price for all of them. Instead of setting individual profit targets for each trade, the Aggregate Take Profit rule determines the net position and calculates one price at which the entire group of trades should be closed to achieve your desired outcome. This is particularly useful for grid trading, dollar-cost averaging, and scaling strategies where managing trades collectively is more effective than managing them individually.

How It Works

The Aggregate Take Profit rule takes a list of trade IDs and treats them as a single combined position. It calculates the overall net exposure by considering both buy and sell trades and their respective sizes. Based on your chosen calculation method, it then determines a single price at which all trades should be closed to realise the desired profit.

The available methods for calculating the aggregate take-profit price are:

  • Breakeven — Calculates the price at which the combined profit and loss of all trades in the group is exactly zero. Useful when you want to exit a losing group of trades without further losses.
  • Pips — Sets the take-profit price a specified number of pips away from the volume-weighted average entry price of the entire group.
  • Amount — Calculates the price that would result in a specific total monetary profit for the entire group, allowing you to define your profit target in dollar terms.
  • Distance Pips — Sets the take-profit price a specified number of pips away from the current market price.
  • Distance Amount — Calculates the take-profit price based on a specific monetary profit from the current market price.
  • Market Percent — Sets the take-profit price as a percentage away from the current market price.
  • Chasing — Creates a dynamic take-profit that moves with the market during strong trends, allowing the group of trades to capture more profit than the original target when conditions are favourable.

The Close Opposite Positions option consolidates the group by closing any trades that are against the net direction of the position before setting the take-profit. For example, if your group has a net long position, any short trades within the group will be closed first to simplify the aggregate calculation.

The Silent option keeps the take-profit order on the system side rather than sending it to the broker, hiding your profit target from the market.

Inputs

Input Description Required Default
Trade Id(s) A list of trade IDs to be managed as a single aggregated position. All trades in the list will share the same calculated take-profit price. Yes
Type The method used to calculate the aggregate take-profit price. Available values: Pips, Amount, Distance Pips, Distance Amount, Market Percent, Breakeven, Chasing. Yes
Pips The number of pips from the volume-weighted average entry price at which to set the take-profit. Used when Type is set to Pips. No
Amount The total monetary profit to target for the entire group of trades. Used when Type is set to Amount. No
Distance Pips The number of pips from the current market price at which to set the take-profit. Used when Type is set to Distance Pips. No
Distance Amount The monetary profit to target from the current market price. Used when Type is set to Distance Amount. No
Market Percent The percentage of the current market price to use for setting the take-profit distance. Used when Type is set to Market Percent. No
Close Opposite Positions When enabled, any trades in the group that are against the net direction of the aggregated position will be closed before the take-profit is applied. Yes false
Silent When enabled, the take-profit order is held by the system and not sent to the broker until the target price is reached. No false

Outputs

Output Description List
Calculated Take Profit Price The single, calculated take-profit price that will be applied to all trades in the group. This value can be passed to downstream rules for monitoring or further calculations. No

Tips

For grid and dollar-cost averaging strategies, use the Aggregate Take Profit in combination with Aggregate Stop Loss to create a complete risk-reward envelope around your group of trades. A common approach is to set the Aggregate Take Profit to an Amount of your target profit and the Aggregate Stop Loss to an Amount of your maximum acceptable loss. The Chasing type is especially powerful for trend-following grids: it sets an initial profit target but will continue to move the exit higher as the market trends in your favour, allowing the entire grid to benefit from sustained moves.

Was this helpful? Let us know