# Trailing Stop-Loss

### What is a Trailing Stop-Loss?

A **Trailing Stop-Loss** is an advanced version of a standard stop-loss.

Instead of remaining fixed, the stop price **automatically moves upward as the token price increases**. This allows you to **lock in profits while limiting downside risk**, making it ideal for capturing strong momentum without giving back gains during pullbacks.

***

### Example

You set:

* **Take Profit:** +200%
* **Stop Loss / Drawdown:** -40%

If the token pumps **+190%** and then starts to drop, the outcome depends on whether the trailing stop is enabled.

| Scenario                   | Result                                                                                                                                                   |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Without Trailing Stop-Loss | The position stays open until the price drops to **-40%**, which can turn a profitable trade into a loss.                                                |
| With Trailing Stop-Loss    | The stop price **moves upward with the price**, securing profits. If the price peaks at **+190%**, the stop adjusts to about **+74%**, locking in gains. |

***

### Formula

The trailing stop is calculated using the following formula:

\text{Stop Price} = \text{Highest Price} \times (1 - \text{Drawdown})

Example calculation:

| Highest Price Reached | Drawdown | Stop Price |
| --------------------- | -------- | ---------- |
| +190%                 | 40%      | +74%       |

This means the trade will **automatically close in profit** if the price drops to that level.

***

### How to Enable Trailing Stop-Loss

{% hint style="info" %}
Trailing Stop-Loss Setup Tutorial: [YouTube](https://youtube.com/shorts/Z-GTnAjdH1I)&#x20;
{% endhint %}

| Step | Action                                                                                                                            |
| ---- | --------------------------------------------------------------------------------------------------------------------------------- |
| 1    | <p>Open <strong>Settings</strong><br></p><p><img src="/files/iPwaPHEVCzib5SVv2IfK" alt="" data-size="original"></p>               |
| 2    | <p>Click on <strong>Trading Settings</strong><br></p><p><img src="/files/DetdqCm9KdfOKXKNKf9E" alt="" data-size="original"></p>   |
| 3    | <p>Enable <strong>Auto Sell</strong><br><br><img src="/files/neNAlHNllcwpbzUMyIoT" alt=""></p>                                    |
| 4    | <p>Activate <strong>Trailing Stop-Loss</strong><br></p><p><img src="/files/NRlfWKSk1chd8eYwfTMc" alt="" data-size="original"></p> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.odin.tools/thor-trading-bot/thor-telegram-bot/trailing-stop-loss.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
