Skip to main content
Any Framework

Adx Bollinger Strategy (Python)

Published
Aug 7, 2025
1y ago
Total Downloads
1.2K
1,217

Install

dotnet add package StockSharp.Strategies.0176_ADX_Bollinger.py --version 5.0.1

No framework information available.

README

Adx Bollinger Strategy (Python Version)

Strategy based on ADX and Bollinger Bands indicators. Enters long when ADX > 25 and price breaks above upper Bollinger band Enters short when ADX > 25 and price breaks below lower Bollinger band

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

Bollinger band breaches filtered with ADX ensure price is breaking out with force. The system trades in the direction of the breakout.

Suited for high-volatility environments. An ATR-based stop reduces downside risk.

Details

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

Changes from Previous Version

No structural changes between v5.0.0 and v5.0.1.

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.