# Settings

The [Buy Sell Toolkit](https://www.zeiierman.com/indicators/buy-sell-toolkit) offers customizable settings to optimize the script’s performance based on different market conditions. These settings control signal generation, trend detection, and the speed of the indicator's response to price changes.

### Key Parameters

There are three key parameters in the settings of this toolkit: BUYSELL, rangesize, and signal optimizer.

#### 1. BUYSELL

**Default:** Off

The <mark style="color:green;">BUYSELL</mark> parameter toggles buy/sell signals on or off. Enabling this option will allow the script to generate buy and sell signals.

When set to "Off", the script will not generate signals, enabling analysis without live trade execution. We generally recommend turning this off only for backtesting or analyzing performance without executing trades. It’s best to have this setting enabled for live trading.

#### 2. Rangesize

**Default:** 2.5

The rangesize parameter controls the sensitivity of buy/sell signals.

A smaller <mark style="color:green;">“rangesize”</mark> triggers more frequent signals, suitable for scalping or short-term trading. A larger <mark style="color:green;">“rangesize”</mark> reduces sensitivity, better for identifying long-term trends.

Recommended values:

* **Conservative:** 1 (for tight, low volatility markets)
* **Moderate:** 2.5 (for balanced market conditions)
* **Aggressive:** 5 (for volatile markets)

{% hint style="info" %}
**Tip:** Adjust the <mark style="color:green;">“rangesize”</mark> based on asset volatility. Higher values suit more volatile markets, while lower values work better in stable conditions.
{% endhint %}

#### 3. Signal Optimizer

**Default:** Off

The <mark style="color:green;">"signal optimizer"</mark> automatically adjusts the strategy parameters for optimal performance, based on historical data. It does these adjustments to focus on performance or win rate, refining the signal output.

It is generally recommended to use the <mark style="color:green;">"signal optimizer"</mark> when adjusting to specific market conditions. Choose **"Winrate"** for accuracy and "Performance" for higher profit potential.

### Configurations for Different Market Conditions

* **Trending Markets:** Set <mark style="color:green;">BUYSELL</mark> to "Buy/Sell" and <mark style="color:green;">"rangesize"</mark> to a higher value (e.g., 5) to capture larger, sustained movements. Set the <mark style="color:green;">"signal optimizer"</mark> to "Performance" to maximize potential profit.
* **Ranging Markets:** Set <mark style="color:green;">BUYSELL</mark> to "Off" to avoid false signals and use a lower <mark style="color:green;">"rangesize"</mark> (e.g., 1) for more frequent signals. Set the <mark style="color:green;">"signal optimizer"</mark> to "Winrate" for higher accuracy.
* **Volatile Markets:** Set <mark style="color:green;">“rangesize”</mark> to a higher value (e.g., 5) to filter out noise and focus on major price movements. Set the <mark style="color:green;">"signal optimizer"</mark> to "Performance" to take advantage of volatility.

### Common Mistakes to Avoid

* **Over-optimization:** Aim for settings that perform consistently across different markets and timeframes.
* **Using Fixed Settings:** Always consider market context. Using the same parameters for all market types can result in suboptimal performance.
* **Repainting:** Be cautious of settings that involve moving averages or trailing stops, as they may repaint.


---

# 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.zeiierman.com/toolkit/buy-and-sell/settings.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.
