StockSharp.Strategies.0166_Donchian_Stochastic.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0166_Donchian_Stochastic.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0166_Donchian_Stochastic.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0166_Donchian_Stochastic.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0166_Donchian_Stochastic.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0166_Donchian_Stochastic.py" />
paket add StockSharp.Strategies.0166_Donchian_Stochastic.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0166_Donchian_Stochastic.py, 5.0.1"
#:package StockSharp.Strategies.0166_Donchian_Stochastic.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0166_Donchian_Stochastic.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0166_Donchian_Stochastic.py&version=5.0.1
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.
Testing indicates an average annual return of about 85%. It performs best in the crypto market.
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
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Use tabs for C# strategy resets