Skip to content
All library documents

Bollinger Band Percent Threshold Signals in a Directional Trading Controller

Article Strategy library · Author: TradesLuci

Summary

This controller configuration describes a Bollinger Band based directional signal. It obtains candle data for a configurable exchange, trading pair, and interval, defaulting the data source to the trading connector and pair when those fields are left empty. It computes Bollinger Bands using a configurable lookback and standard deviation setting, then reads the band percent value to classify the latest candle.

Values below a configurable lower threshold produce a long signal, while values above an upper threshold produce a short signal; other observations are assigned a neutral signal. The default configuration uses a three-minute interval and a 100-candle lookback, with thresholds at the extremes of the band-percent scale. The provided source shows signal generation and data preparation, but not order placement, exits, position sizing, costs, or performance evidence. The snippet therefore explains an indicator rule rather than validating a complete trading system.

Key ideas

  • The controller calculates Bollinger Bands from configurable candle data.
  • It uses band percent thresholds to assign long, short, or neutral signals.
  • Candle source and trading pair can default to the configured connector and pair.
  • The visible code prepares a signal but does not show execution or risk controls.
  • No backtest results or evidence of strategy performance are included.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.