> 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/optimization.md).

# Optimization

These settings allow fine-tuning of key **Smart Money Concept (SMC) indicators** used in backtesting.

***

### <mark style="color:$primary;">**Market Structure**</mark>

<div align="left"><figure><img src="/assets/a9d372f6b09e0c78ec2d8b8d59a507f35b98a61f0dcd4b9357bd9c695c069ec9.png" alt=""><figcaption></figcaption></figure></div>

* **Algorithmic Logic** – Selects between **Extreme Points** and **Adjusted Points** for market structure calculations.
* **Build Sweep (x)** – Enables detection of liquidity sweeps at significant price levels.

***

### <mark style="color:$primary;">**Volumetric Order Blocks**</mark>

<div align="left"><figure><img src="/assets/2514739dc6a8c6c7d420f789bed72287fc2f1df4544f002bfc008eb63dae0eba.png" alt=""><figcaption></figcaption></figure></div>

* **Construction** – Defines order block size based on **length** or **full candle body**.
* **Mitigation Method** – Determines when an order block is considered mitigated (e.g., **Close, Wick, Avg**).

***

### <mark style="color:$primary;">**Fair Value Gap (FVG)**</mark>

<div align="left"><figure><img src="/assets/6e9be008e0d936865cc389d89a74d0d3200e0f4e122704ad98f7552d57f56502.png" alt=""><figcaption></figcaption></figure></div>

* **Mitigation** – Sets how an FVG is confirmed as filled (**Close, Wick, Avg**).
* **Timeframe** – Allows filtering by specific chart timeframes.
* **Threshold** – Filters out insignificant FVGs based on a minimum value.

***

### <mark style="color:$primary;">**Swing Failure Pattern (SFP)**</mark>

<div align="left"><figure><img src="/assets/385a2ed37eae56ca8d5c9de62507da8292907d8f61bd5cdfd208802e93d31026.png" alt=""><figcaption></figcaption></figure></div>

* **Length** – Defines the number of bars considered for SFP detection.
* **MTF** – Enables higher timeframe filtering for SFP signals.
* **Filtering** – Allows selecting **Trend Following, Counter Trade, or None** to refine signals.
* **Threshold** – Sets a volume threshold for validating SFPs.

***

### <mark style="color:$primary;">**Liquidity Concepts**</mark>

<div align="left"><figure><img src="/assets/a10eddb907057251442f128ad45f0204134026b00f3b8d11d86715ada2ff76cd.png" alt=""><figcaption></figcaption></figure></div>

* **Sweep Area** – Defines the zone size for detecting liquidity sweeps.

***

These settings help optimize SMC strategies by refining trade entries, exits, and confirmations.
