# 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="/files/6JNryRJ622HzosVxZzjS" 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="/files/2ukmqm9F91jkzoQAsPlw" 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="/files/3bZPooWvmsmKUqH4ynL0" 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="/files/8n9aPMUTbS78IPDjpgQO" 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="/files/xjFIIR51ObRAfdEs7Gzs" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bigbeluga.com/backtesters/smart-money-backtester/optimization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
