Skip to main content
Any Framework

Bollinger Band Width Breakout (Python)

Published
Jul 19, 2025
1y ago
Total Downloads
1.3K
1,284

Install

dotnet add package StockSharp.Strategies.0038_BB_Width.py --version 5.0.0

No framework information available.

README

Bollinger Band Width Breakout (Python Version)

Bollinger Band Width measures the spread between the upper and lower bands. Expanding width suggests volatility and possible trend formation. This strategy trades breakouts when the width is increasing.

Price position relative to the middle band sets direction. A widening channel with price above the mid-band triggers longs, while a widening channel below it triggers shorts.

Exits occur when the band width contracts or a volatility stop is reached.

Details

  • Entry Criteria: Band width expanding and price relative to middle band.
  • Long/Short: Both directions.
  • Exit Criteria: Band width contracts or stop.
  • Stops: Yes.
  • Default Values:
    • BollingerPeriod = 20
    • BollingerDeviation = 2.0m
    • AtrMultiplier = 2.0m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Breakout
    • Direction: Both
    • Indicators: Bollinger Bands, ATR
    • Stops: Yes
    • Complexity: Basic
    • Timeframe: Intraday
    • Seasonality: No
    • Neural Networks: No
    • Divergence: No
    • Risk Level: Medium

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.