# Exit Conditions

The **Exit Conditions** section allows traders to define precise logic for automatically closing active positions.

Each exit rule uses the same set of market conditions available in the [**Long** and **Short** entry configurations](https://docs.bigbeluga.com/backtesters/entry-conditions#long-and-short-entry-conditions) — including structure breaks, order blocks, divergences, liquidity events, or oscillator reversals — but is applied strictly for **trade management and exit execution**.

***

<div data-with-frame="true"><figure><img src="https://3353728891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1dlOGDREop4WMfLcctYT%2Fuploads%2FwY1poEf0nDXxlTuCBQFS%2Fimage.png?alt=media&#x26;token=eb9e98ac-5bf9-4046-b244-58b9f535a55c" alt=""><figcaption></figcaption></figure></div>

***

Traders can assign up to two exit conditions for both long and short positions.\
Each exit rule can be configured with:

* **Direction filter** *(Bullish/Bearish)* — determines when the signal is valid for exit.
* **Condition type** — defines the event that triggers the trade closure (e.g., Break of Structure, FVG Retest, Divergence, Liquidity Grab, etc.).

*When an exit condition is met, the system automatically closes any active position of the corresponding direction — ensuring precise, rule-based trade management without manual intervention.*

***

The **Long/Short Exit Conditions** module completes the backtesting framework by introducing **automated position management**.\
It ensures every strategy tested under the **BigBeluga Backtester** adheres to consistent exit logic, minimizing emotional bias and enhancing accuracy in performance evaluation.

By mirroring entry condition flexibility, the exit system allows full creative control — from structure-based exits to momentum or liquidity-driven reversals — enabling traders to test how each exit method impacts long-term profitability and drawdown behavior.
