Skip to main content

Closing Positions with Trailing-Take-Profit

Trailing-Take-Profit allows you to set your Trailing-Stop to trigger only after a specific profit has been reached.

Josh avatar
Written by Josh
Updated yesterday

What is Trailing-Take-Profit?

In simple terms, Trailing-Take-Profit (TTP) is a condition that monitors the price trend and automatically closes your position once a certain profit is achieved, while also defining the maximum acceptable loss.

Essentially, by using TTP, you can lock in profits when the asset’s price rises, ensuring those profits are protected before the price potentially reverses and diminishes them.

This concept is similar to Trailing Stop Loss (TSL), but with one important difference. While a Trailing Stop Loss adjusts the stop level based on the highest price reached during the trade (trailing the price), Trailing-Take-Profit only activates the trailing stop after a predefined profit threshold has been reached. In other words, TTP ensures profits are locked in before the trailing stop is triggered.


How to Set a Trailing-Take-Profit

To set up a Trailing-Take-Profit condition, follow these steps:

  1. In the Exit section of your strategy, add the condition:
    “…at trailing-take-profit”


    It can be used as a standalone condition or in combination with other exit conditions:

    Trailing-Take-Profit can be set up as an independent condition to close the position once the desired profit level is reached, or it can be paired with other exit conditions to create a more robust exit strategy. For example, you can combine it with a Profit Target or a Stop Loss to ensure that the position is exited at the optimal point, whether that be securing a specific profit or limiting potential losses.

    FBAgQIECAAAECBAgQIEAgDwEBQh7WsljZAAAAy0lEQVR9ViUBAgQIECBAgAABAgQIEEgSECAk8VlMgAABAgQIECBAgAABAgTyEBAg5NFnVRIgQIAAAQIECBAgQIAAgSQBAUISn8UECBAgQIAAAQIECBAgQCAPAQFCHn1WJQECBAgQIECAAAECBAgQSBIQICTxWUyAAAECBAgQIECAAAECBPIQECDk0WdVEiBAgAABAgQIECBAgACBJAEBQhKfxQQIECBAgAABAgQIECBAIA8BAUIefVYlAQIECBAgQIAAAQIECBBIEvgOtOfwSze1X2IAAAAASUVORK5CYII= (1040×189)

  2. When adding a Trailing-Take-Profit, define the following values:

    • Profit: This is the threshold—either in nominal ($) or percentage (%) terms—at which the trailing stop mechanism will activate. The TTP will only start monitoring for a drop once this profit level has been reached.

    • Trailing Stop: This is the amount of profit you’re willing to give back before the position is closed. It can also be set in nominal or percentage terms. Once the initial profit threshold is hit, the trailing stop begins tracking the highest P/L reached and will trigger an exit if the price falls by the defined trailing amount.

    Example:

    Here’s a strategy using this logic:
    “Close position at trailing take profit (Profit: 5%, Trailing Stop: 2%)”

    This means: once the position gains 5%, the system will start monitoring. If profit drops from any high point (e.g., 6%, 7%, etc.) by 2% or more, the position will be closed - locking in profit before a deeper reversal occurs.

This exit strategy will only trigger once both of the following conditions are met:

  1. The position must first reach a 5% profit.

  2. Only then will the strategy begin monitoring for a 2% trailing stop.

In other words, the trailing stop is inactive until the defined profit threshold (5%) is hit. Once that happens, the trailing stop starts tracking the price, and if the profit pulls back by 2% from its peak, the position will be closed.

Watch this tutorial video to see it in action

Understanding the Monitor Widgets

Once your strategy is running, you’ll see two monitor widgets on the strategy page specifically tracking the Trailing-Take-Profit (TTP) condition.

  • Left Widget — Profit Threshold:
    This shows the profit value that must be reached before the trailing stop begins monitoring. In our example, it's 5%. Once the position reaches this profit level, the strategy activates the trailing stop. The defined profit value is highlighted in red in the image below.

  • Right Widget — Trailing Stop:
    This shows the trailing stop value — in our example, 2%. This condition only comes into play after the 5% profit has been hit.

If both values are identical (e.g., 5% profit and 5% trailing stop), you can confirm which is which by checking the label at the bottom of each widget.


Note: All screenshots and examples are for technical demonstration purposes only. They should not be considered as recommendations for any specific trading strategy, nor do they constitute any form of advice. Please click here for further explanation

Did this answer your question?