Cancel Take Profit
Cancel active take profit orders for one or more trades, removing the preset profit target from specified positions. This rule gives your strategy the flexibility to adjust profit expectations on the fly. It is most commonly used when a trade is performing better than anticipated and you want to remove the existing take profit to either let the trade run further or replace it with a more ambitious target at a higher price level.
How It Works
The Cancel Take Profit rule takes a list of trade IDs as input. For each trade in the list, it identifies any associated take profit orders that are still active (meaning they have not yet been triggered or previously cancelled) and sends a cancellation request to remove them.
This rule is commonly used in two scenarios:
- Replacing a take profit — When you want to change the take profit level on a trade, you first cancel the existing take profit using this rule, then apply a new take profit using the Take Profit rule with updated parameters. This two-step process gives you precise control over the transition.
- Letting profits run — In trend-following strategies, if a trade is moving strongly in your favour and exceeding expectations, you may want to cancel the take profit order entirely and instead rely on a trailing stop loss to protect profits while allowing the trade to capture as much of the move as possible.
The rule only cancels take profit orders. Base orders and stop loss orders are not affected, so your entry management and downside protection remain intact.
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
| Trade Id(s) | A list of trade IDs for which the active take profit orders should be cancelled. Connect this to the output of a Place Trades, Place Trade with Risk, or Trade Collector rule. | Yes | — |
Outputs
This rule has no outputs. Once the cancellation requests have been sent, the action is complete. The trades will continue to be open but without a take profit target until a new one is applied.
Tips
A powerful pattern for trend-following strategies is to cancel the take profit order when price reaches a certain profit threshold and switch to a trailing stop loss instead. On your canvas, connect a condition that monitors unrealised profit to the Cancel Take Profit rule, followed immediately by a Stop Loss rule configured with the Trailing option enabled. This way, once your trade reaches a predetermined profit level, the fixed exit target is replaced with dynamic trailing protection that follows the trend. Also consider using the Take Profit rule's built-in Chasing feature as an alternative, which adjusts the profit target dynamically without requiring a cancel-and-replace workflow.
Was this helpful? Let us know