# Trailing Stop Loss

A Trailing Stop Loss (TSL) is a **dynamic limit order** mode designed to protect your profits by allowing a stop-loss level to automatically adjust as the asset's price moves in a favorable direction. It enables users to **"lock in" gains** while strictly limiting potential losses by maintaining a fixed percentage (Trailing Delta) below the asset's peak price.

#### How it works

Unlike a static Stop Loss, a Trailing Stop Loss is flexible:

* **Price Increases:** As the market price rises, the trigger price moves up accordingly, maintaining the pre-defined percentage gap.
* **Price Decreases:** If the price starts to drop, the trigger price remains frozen at its highest reached level. it does not move back down.
* **Execution:** The order is automatically triggered and executed when the market price falls to touch the current Trailing Stop price.

{% hint style="info" %}
**Example Scenario**

* Consider a scenario where a user purchases a token at $100 and sets a Trailing Stop Loss with a 5% Trailing Delta.&#x20;
* As the market price climbs to $120, the stop-loss price automatically adjusts upward to $114, maintaining the fixed 5% gap below the peak.&#x20;
* If the token's price continues to rise, the stop-loss level will follow proportionally to lock in higher gains.&#x20;
* However, if the trend reverses and the price drops to $114 without reaching a new high, the stop-loss order is immediately triggered and executed, securing the user's profit and preventing further downside risk.
  {% endhint %}

#### Set-up Guide

{% embed url="<https://drive.google.com/file/d/1TynKtJxmIk5XzDxJYHKMSbxPccTFIs3L/view?usp=sharing>" %}

{% stepper %}
{% step %}

#### Access the Trailing Stop Loss Tab

Navigate to the Sell Panel on the token page of the token that you want to make the TSL order. Locate and click on the Trailing Stoploss tab
{% endstep %}

{% step %}

#### Set your Trailing Delta (%)

In the Trailing Delta input field, enter the percentage gap you wish to maintain below the peak price.

* Note: This field only accepts positive values (e.g., 5, 10, or 15).
* This represents the "trailing distance" the bot will maintain as the token price rallies
  {% endstep %}

{% step %}

#### Define Order Amount

You have three ways to specify how much of your position you want to sell:

* Percentage Slider: Drag the slider to quickly select a portion of your holdings (e.g., 25%, 50%, 100%).
* Amount % Input: Manually type the specific percentage of tokens to sell.
* Token Amount Input: Enter the exact number of tokens.
  {% endstep %}

{% step %}

#### Configure Expiry

Select the duration for which this order remains active (e.g., 1 hour or 1 day)
{% endstep %}

{% step %}

#### Execute Order

Once all parameters are set, click the Place Order button. Your Trailing Stop Loss is now active and will be visible on the chart, dynamically adjusting as the market moves in your favor.
{% endstep %}
{% endstepper %}


---

# 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.mevx.io/docs/feature-ecosystem/buy-and-sell/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.
