Skip to main content
Any Framework

Bollinger Percent B Reversion (Python)

Published
Jul 19, 2025
1y ago
Total Downloads
589
589

Install

dotnet add package StockSharp.Strategies.0035_Bollinger_B_Reversion.py --version 5.0.0

No framework information available.

README

Bollinger Percent B Reversion (Python Version)

This approach fades price extremes beyond the Bollinger Bands using the Percent B indicator. Moves above the upper band or below the lower band suggest overextension.

When percent B is less than zero or greater than one, the system bets on a return to the middle of the band. An exit threshold closes trades once momentum normalizes.

Stops are placed at a fixed percentage from entry.

Details

  • Entry Criteria: Percent B outside the 0–1 range.
  • Long/Short: Both directions.
  • Exit Criteria: Percent B crosses ExitValue or stop.
  • Stops: Yes.
  • Default Values:
    • BollingerPeriod = 20
    • BollingerDeviation = 2.0m
    • ExitValue = 0.5m
    • StopLossPercent = 2.0m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Mean Reversion
    • Direction: Both
    • Indicators: Bollinger Bands
    • 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.