# Take Profit & Stop Loss

The **Take Profit** and **Stop Loss** settings form the backbone of the BigBeluga Backtester’s **risk management engine**.

They allow traders to precisely model different trade management styles, compare outcomes, and evaluate how exit logic impacts profitability, drawdown, and win rate.

<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%2Fw9ZY1EStN7c1qfYZNEPf%2F2025-10-29_13-46.png?alt=media&#x26;token=07bbd9ee-5e81-4a60-9c16-6a5c89718d8a" alt=""><figcaption></figcaption></figure></div>

***

<details>

<summary>TAKE PROFIT</summary>

The **Take Profit** module defines how partial or full position closures are executed once a trade reaches predefined profit targets.\
Traders can configure up to **three take-profit levels**, each defined by distance and exit size.

<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%2FGxRFOW2UiePbRrDzc41j%2Fimage.png?alt=media&#x26;token=068fb29e-4a82-4194-844a-91063f6f1cdd" alt=""><figcaption></figcaption></figure></div>

* **Take Profit:** Choose between 1, 2, or 3 targets.

<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%2FY0e511g5h6tVvfuxh5Ln%2Fimage.png?alt=media&#x26;token=2591cfba-3358-4f4e-aa56-0da7a3d865d6" alt=""><figcaption></figcaption></figure></div>

* **Color:** Visualized on chart for quick identification (default: lime).
* **Size:** Define distance as a multiple of **ATR** (Average True Range) or a fixed **percentage** from the entry price.

<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%2FsSUVh1LF9P62KRekOyIN%2Fimage.png?alt=media&#x26;token=19aaa524-47fa-4932-ba13-ad2ac5586a52" alt=""><figcaption></figcaption></figure></div>

* **Exit Size:** When using multiple targets, specify what percentage of the position is closed at each level (e.g., 25%, 25%, 50%).

<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%2FOhgeoqRFMj7D9G1mSTqY%2Fimage.png?alt=media&#x26;token=b8dff406-cb09-4f7d-a96d-1ea4cd8c0fd6" alt=""><figcaption></figcaption></figure></div>

This configuration allows both **scalping-style scaling out** and **multi-phase swing exits**, enabling more flexible trade management and performance comparison across different strategies.

</details>

<details>

<summary>STOP LOSS</summary>

The **Stop Loss** module provides full control over capital protection through fixed or dynamic risk mechanisms.\
It defines how and when trades are exited automatically when adverse price movement occurs.

<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%2FTheSe4CYZoic0S0sv8nt%2Fimage.png?alt=media&#x26;token=32532f77-111d-4cc5-9804-8253f46eb7c9" alt=""><figcaption></figcaption></figure></div>

* **Type Selection:** Choose between **Fixed Stop** or **Trailing Stop**.

  * *Fixed Stop* — the distance from entry remains constant throughout the trade.
  * *Trailing Stop* — dynamically adjusts as price moves in your favor, locking in profits.

  <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%2FN7uMcoahgHsNTFlTQpYi%2Fimage.png?alt=media&#x26;token=8c73d091-699a-41b4-ab38-69389e23c86a" alt=""><figcaption></figcaption></figure></div>
* **Color:** Visualized on chart for quick identification (default: fuchsia).
* **Size:** Define stop distance by **ATR multiple** or **percentage** of price.

<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%2Fznj1hrauD1baVIo60K2w%2Fimage.png?alt=media&#x26;token=5664e963-fa06-4043-93ef-42642a38ab88" alt=""><figcaption></figcaption></figure></div>

</details>

***

By combining these options, traders can replicate professional risk management models — from tight trailing stops in intraday systems to wider, volatility-based stops for swing strategies.
