Any Framework
Donchian Stochastic Strategy (Python)
Published
Jul 19, 2025
1y ago
Total Downloads
1.2K
1,234
Install
dotnet add package StockSharp.Strategies.0166_Donchian_Stochastic.py --version 5.0.0
No framework information available.
README
Donchian Stochastic Strategy (Python Version)
Donchian Channel + Stochastic strategy. Strategy enters the market when the price breaks out of Donchian Channel with Stochastic confirming oversold/overbought conditions.
Breakouts beyond the Donchian channel are confirmed with Stochastic momentum. Trades start as soon as price escapes the range and the oscillator agrees.
Useful for traders expecting immediate follow-through. An ATR multiple sets the stop.
Details
- Entry Criteria:
- Long:
Close > DonchianHigh && StochK < 20 - Short:
Close < DonchianLow && StochK > 80
- Long:
- Long/Short: Both
- Exit Criteria: Breakout failure or opposite signal
- Stops: Percent-based using
StopLossPercent - Default Values:
DonchianPeriod= 20StochPeriod= 14StochK= 3StochD= 3CandleType= TimeSpan.FromMinutes(5).TimeFrame()StopLossPercent= 2m
- Filters:
- Category: Breakout
- Direction: Both
- Indicators: Donchian Channel, Stochastic Oscillator
- Stops: Yes
- Complexity: Intermediate
- Timeframe: Mid-term
- 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.