# Total TP/SL settings (per bot)

<figure><img src="https://996336407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSQbeA5D3PC0GX0QTFFZ%2Fuploads%2FL25G4x4dETVVEMqcRvim%2Fimage.png?alt=media&#x26;token=3ee4b75b-320d-4899-8e54-049ad2b38671" alt=""><figcaption></figcaption></figure>

**Take Profit** — this parameter sets the profit level at which the bot will automatically close the position to lock in gains.

***

**TP Auto Update**

This feature automatically increases the Take Profit value by a set amount each time the previous Take Profit is triggered. The bot then restarts with a new profit target.

**Example:**

* Take Profit = 10
* TP Auto Update = 10
* When Total Current Profit reaches 10, the bot will close all positions and triggers.
* It will then set a new Take Profit at 20 and continue operating.
* Upon reaching 20, it will close again and raise the Take Profit to 30, and so on.

***

#### Stop Loss and Stop Loss Trailing

Stop Loss — sets a loss threshold, at which the bot will automatically close the position to prevent further losses.

A positive Stop Loss can be set on a running bot, but it must be lower than the current Total Profit.

***

#### Stop Loss Trailing

This option, when enabled, automatically adjusts the Stop Loss level upward as Total Current Profit increases, helping to protect accumulated gains.

Two configuration options are available:

* **Custom:**\
  Works by trailing the Stop Loss behind Total Current Profit by a fixed distance specified in the Stop Loss field.

**Example:**

<table><thead><tr><th>Total Current Profit (USDT)</th><th>Stop Loss (USDT)</th><th data-hidden></th></tr></thead><tbody><tr><td>0</td><td>-100</td><td></td></tr><tr><td>10</td><td>-90</td><td></td></tr><tr><td>30</td><td>-70</td><td></td></tr><tr><td>100</td><td>0</td><td></td></tr><tr><td>50</td><td>0</td><td></td></tr><tr><td>200</td><td>100</td><td></td></tr></tbody></table>

**Half of Profit**

Stop Loss is set at the level specified by the user in the Percentage of profit (%) field and automatically increases along with it by the specified percentage of the Total Current Profit.

For example, you can initially set:

* Percentage of profit (%) = 50%
* Triggered Profit = 100 USDT

In this case, the trailing is activated when Total Current Profit reaches 100 USDT (Triggered Profit), and will then follow Total Current Profit at a distance equal to 50%.

**Example:**

<table><thead><tr><th>Total Current Profit (USDT)</th><th>Stop Loss (USDT)</th><th data-hidden></th></tr></thead><tbody><tr><td>100</td><td>50</td><td></td></tr><tr><td>150</td><td>75</td><td></td></tr><tr><td>200</td><td>100</td><td></td></tr><tr><td>250</td><td>125</td><td></td></tr></tbody></table>

**Important:** Triggered Profit cannot be a negative value.
