Skip to main content
Published
Jul 20, 2025
1y ago
Total Downloads
1.5K
1,525

Install

dotnet add package StockSharp.Strategies.0206_MACD_Bollinger.py --version 5.0.0

No framework information available.

README

MACD Bollinger Strategy (Python Version)

This strategy uses MACD Bollinger indicators to generate signals. Long entry occurs when MACD > Signal && Price < BB_lower (trend up with oversold conditions). Short entry occurs when MACD < Signal && Price > BB_upper (trend down with overbought conditions). It is suitable for traders seeking opportunities in mixed markets.

Details

  • Entry Criteria:
    • Long: MACD > Signal && Price < BB_lower (trend up with oversold conditions)
    • Short: MACD < Signal && Price > BB_upper (trend down with overbought conditions)
  • Long/Short: Both sides.
  • Exit Criteria:
    • Long: Exit long position when price returns to middle band
    • Short: Exit short position when price returns to middle band
  • Stops: Yes.
  • Default Values:
    • MacdFast = 12
    • MacdSlow = 26
    • MacdSignal = 9
    • BollingerPeriod = 20
    • BollingerDeviation = 2.0m
    • AtrPeriod = 14
    • AtrMultiplier = 2m
    • CandleType = TimeSpan.FromMinutes(5)
  • Filters:
    • Category: Mixed
    • Direction: Both
    • Indicators: MACD Bollinger
    • Stops: Yes
    • Complexity: Intermediate
    • 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.