> For the complete documentation index, see [llms.txt](https://docs.bigbeluga.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bigbeluga.com/backtesters/smart-money-backtester/exit-conditions.md).

# Exit Conditions

These settings define when a **long (buy) or short (sell) trade** should be closed. Each condition is checked sequentially to confirm an exit signal.

***

<div><figure><img src="/files/RdYe3qXusYuSqszNqyp5" alt=""><figcaption></figcaption></figure> <figure><img src="/files/rnP9p7V4CdyDUj7TPFAW" alt=""><figcaption></figcaption></figure></div>

***

* <mark style="color:$primary;">**Exit 1**</mark> – Closes a position based on market structure shifts, such as **Change of Character (CHoCH)** or **Break of Structure (BOS)** in the opposite direction.
* <mark style="color:$primary;">**Exit 2-3**</mark> – Uses price-based conditions, such as the **closing price reaching a specific level or being equal to a set value**.
* <mark style="color:yellow;">**Step**</mark> – Determines the sequence in which conditions must be met before confirming an exit.

***

Long exits signal bearish reversals, while short exits trigger on bullish reversals.
