Skip to main content
Total Downloads
1.2K
1,225
Published
Aug 7, 2025
1y ago

Get Started

dotnet add package StockSharp.Strategies.0172_Bollinger_Williams_R.py --version 5.0.1

No framework information available.

README

Bollinger Williams R Strategy (Python Version)

Strategy based on Bollinger Bands and Williams %R indicators. Enters long when price is at lower band and Williams %R is oversold (< -80) Enters short when price is at upper band and Williams %R is overbought (> -20)

Testing indicates an average annual return of about 103%. It performs best in the stocks market.

Bollinger bands expose volatility breakouts and Williams %R ensures momentum is extreme. Positions open when price closes outside a band with a matching Williams %R reading.

Best for volatility expansion traders. ATR stops handle adverse turns.

Details

  • Entry Criteria:
    • Long: Close < LowerBand && WilliamsR < -80
    • Short: Close > UpperBand && WilliamsR > -20
  • Long/Short: Both
  • Exit Criteria: Price returns to middle band
  • Stops: ATR-based using AtrMultiplier
  • Default Values:
    • BollingerPeriod = 20
    • BollingerDeviation = 2.0m
    • WilliamsRPeriod = 14
    • AtrPeriod = 14
    • AtrMultiplier = 2.0m
    • CandleType = TimeSpan.FromMinutes(5).TimeFrame()
  • Filters:
    • Category: Mean reversion
    • Direction: Both
    • Indicators: Bollinger Bands, Williams %R, R
    • Stops: Yes
    • Complexity: Intermediate
    • Timeframe: Mid-term
    • Seasonality: No
    • Neural Networks: No
    • Divergence: No
    • Risk Level: Medium

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

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.