> For the complete documentation index, see [llms.txt](https://docs.bigbeluga.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bigbeluga.org/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="/assets/1edff48cfdf8b705682281f35d075763e70e1d0a9397f27e10fe218071aeb639.png" alt=""><figcaption></figcaption></figure> <figure><img src="/assets/a85b916247b68fcd6ed4bf5f17e2e6d13260f766c63eb17dc8bf94c2bf23886e.png" 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.
