Settings

The Buy Sell Toolkitarrow-up-right 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 BUYSELL 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 “rangesize” triggers more frequent signals, suitable for scalping or short-term trading. A larger “rangesize” 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)

circle-info

Tip: Adjust the “rangesize” based on asset volatility. Higher values suit more volatile markets, while lower values work better in stable conditions.

3. Signal Optimizer

Default: Off

The "signal optimizer" 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 "signal optimizer" when adjusting to specific market conditions. Choose "Winrate" for accuracy and "Performance" for higher profit potential.

Configurations for Different Market Conditions

  • Trending Markets: Set BUYSELL to "Buy/Sell" and "rangesize" to a higher value (e.g., 5) to capture larger, sustained movements. Set the "signal optimizer" to "Performance" to maximize potential profit.

  • Ranging Markets: Set BUYSELL to "Off" to avoid false signals and use a lower "rangesize" (e.g., 1) for more frequent signals. Set the "signal optimizer" to "Winrate" for higher accuracy.

  • Volatile Markets: Set “rangesize” to a higher value (e.g., 5) to filter out noise and focus on major price movements. Set the "signal optimizer" 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.

Last updated