# Optimization

The **Optimization Settings** panel provides control over how each analytical subsystem — **Market Waves**, **Core Toolkit**, and **Nautilus System** — interprets market data.

<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%2FhXnNfnV2CPu3ND1M9ahD%2Fimage.png?alt=media&#x26;token=b7c1c7a4-55e5-4129-8b3f-99df5351c651" alt=""><figcaption></figcaption></figure></div>

These parameters directly affect signal generation accuracy, detection sensitivity, and backtest realism.\
Not all condition types include optimization inputs; only the components that rely on configurable sensitivity, timeframe, or detection logic provide adjustable parameters.

<details>

<summary>MARKET WAVES SETTINGS</summary>

These inputs refine the reaction speed and behavior of the Market Waves engine, affecting how it detects short- and long-term trend dynamics.

<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%2F2jVEFY9vTZfuaRfy772p%2Fimage.png?alt=media&#x26;token=6a6bcf03-5b61-4693-8efa-50777a274f25" alt=""><figcaption></figcaption></figure></div>

* [**Trend Signals (Sensitivity)**](https://docs.bigbeluga.com/toolkits/market-waves-pro-tm/trend-signals#customization)\
  Adjusts how reactive the trend detection algorithm is.
  * Lower values = higher sensitivity, faster reaction to small swings.
  * Higher values = smoother, long-term trend interpretation.\
    Ideal for tuning trend-following vs. mean-reversion responsiveness.

* [**FlowTrend (Timeframe Source)**](https://docs.bigbeluga.com/toolkits/market-waves-pro-tm/flow-trend#customization)\
  Defines the timeframe used for the higher-timeframe market flow calculation.

  * *Chart* — uses the current chart’s timeframe.

  <div data-gb-custom-block data-tag="hint" data-style="danger" class="hint hint-danger"><p>Selecting a <mark style="color:$warning;"><strong>lower timeframe</strong></mark> may cause <strong>repainting.</strong><br>For best accuracy, use a <em>higher timeframe</em> (e.g., 1H flow on a 15M chart) to maintain realistic, non-repainting signal behavior.</p></div>

* [**Candlestick Patterns**](https://docs.bigbeluga.com/toolkits/market-core-pro-tm/chart-patterns#customization)\
  Chooses which candlestick setups are considered valid triggers for pattern-based conditions.\
  Options include *All*, *Hammer*, *Engulfing*, *Doji*, *Star*, *Harami*, *Tweezer Top/Bottom*, etc.

</details>

<details>

<summary>MARKET CORE SETTINGS</summary>

These parameters control the precision and complexity of market structure and price-action components.

#### **Market Structure – Length**

<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%2FkpG0D7qhZ4eyhOecixvQ%2Fimage.png?alt=media&#x26;token=f44bec39-1b74-45c6-a886-7641fe6dee5b" alt=""><figcaption></figcaption></figure></div>

Defines the swing lookback used to identify structural highs and lows.\
Longer lengths reduce noise but may delay structure changes.

#### **Order Blocks**

<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%2F0AeiHDXCp88b5Y46mLIJ%2Fimage.png?alt=media&#x26;token=9f1e79bd-7ca5-49ab-a709-64a83be30f5b" alt=""><figcaption></figcaption></figure></div>

* *Use Last:* Specifies how many recent Order Blocks are considered in logic.
* *Mitigation Method:* Determines whether touch, wick, close, or average contact qualifies as mitigation.
* *Macro Blocks:* Enables higher-timeframe (macro) block detection for institutional context.

#### **Fair Value Gaps (FVG)**

<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%2Fbu6kASH8lYj8K67JCALQ%2Fimage.png?alt=media&#x26;token=c59b2781-44e7-439f-84fa-dd04002fbd7e" alt=""><figcaption></figcaption></figure></div>

* *Use Last:* Limits the number of recent gaps used in detection logic.
* *PoC:* Enables or disables the Point of Control line inside each gap.
* *PoC Mode:* Choose between *Mean* or *Highest Volume* calculation.
* *FVG Threshold:* Sets the minimum required size (in ticks or %) for a valid gap.

#### **Swing Failure Pattern (SFP)**

<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%2FU0KHUD2Jf4ERVddl2hFS%2Fimage.png?alt=media&#x26;token=79bdab5c-35a9-46f1-9dce-ae9aecab73ae" alt=""><figcaption></figcaption></figure></div>

* *Length:* Defines how many bars are used to confirm local swing highs/lows.
* *Threshold:* Sets the minimum volume or strength required for SFP validation.\
  These filters ensure only significant liquidity sweeps are recognized.

#### **Support / Resistance**

<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%2FXRXrL2faIKee4no6Zwp7%2Fimage.png?alt=media&#x26;token=d63a64c7-f30f-416a-9403-f1ff758716a9" alt=""><figcaption></figcaption></figure></div>

* *Sensitivity:* Controls how tightly the algorithm reacts to local pivot levels.
* *Strength:* Determines how many price interactions validate a level as strong support/resistance.

#### **Channels / Wedges**

<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%2FyLzrdI3v7XbiH0EODPUD%2Fimage.png?alt=media&#x26;token=faf80ef3-05cf-4150-b913-e3c465a4e258" alt=""><figcaption></figcaption></figure></div>

* *Channels:* Sets the detection range (Small → Macro) for parallel channel formation.
* *Wedges:* Sets the detection range (Small → Macro) for parallel channel formation.

#### **Liquidity Grab**

<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%2FwDvMRCUW5cZA6cv0e6Pa%2Fimage.png?alt=media&#x26;token=121a3e9a-c696-4a20-8fca-13a964428e2c" alt=""><figcaption></figcaption></figure></div>

* *Length:* Specifies how many bars are evaluated to detect liquidity sweeps above highs or below lows.

#### **Session**

<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%2FnGH9t6XwdDqqHWTuqzzZ%2Fimage.png?alt=media&#x26;token=eed04ea5-6f02-409d-b0c8-c1d7ca3bb86b" alt=""><figcaption></figcaption></figure></div>

* *UTC Offset:* Adjusts the session time zone relative to UTC.
* *Session Range:* Defines the intraday session window (e.g., 08:00–08:45) used for breakout analysis.

</details>

<details>

<summary>NAUTILUS SETTINGS</summary>

The **Nautilus System** offers preset profiles optimized for different trading styles, balancing reactivity and smoothness of oscillator-based signals.

<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%2FiHfzwtFdzNIxTc9e5BHh%2Fimage.png?alt=media&#x26;token=f9c4c4cb-cdc2-4bf9-b595-094052e31c77" alt=""><figcaption></figcaption></figure></div>

* **Trader Preset**\
  Select between **Scalper**, **Day Trader**, and **Swing Trader** profiles:
  * *Scalper:* Highest reactivity, fast signal turnover for lower timeframes.
  * *Day Trader:* Balanced responsiveness, suitable for intraday directional plays.
  * *Swing Trader:* Smooth long-cycle detection, ideal for larger market phases.

Each preset automatically adjusts core Nautilus parameters such as oscillator length, peak detection sensitivity, and divergence threshold.

</details>

The **Optimization Settings** define how deeply the BigBeluga Backtester analyzes market structure, trend, and momentum.\
By fine-tuning these parameters, traders can replicate any market condition — from volatile scalping environments to multi-day trend phases — and ensure every test reflects realistic system behavior.

These inputs bridge discretion and data: turning high-level concepts into precisely adjustable, backtestable models that evolve with market dynamics.
