StockSharp.Strategies.0202_Donchian_CCI.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0202_Donchian_CCI.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0202_Donchian_CCI.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0202_Donchian_CCI.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0202_Donchian_CCI.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0202_Donchian_CCI.py" />
paket add StockSharp.Strategies.0202_Donchian_CCI.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0202_Donchian_CCI.py, 5.0.1"
#:package StockSharp.Strategies.0202_Donchian_CCI.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0202_Donchian_CCI.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0202_Donchian_CCI.py&version=5.0.1
Donchian CCI Strategy (Python Version)
This strategy uses Donchian CCI indicators to generate signals. Long entry occurs when Price > Donchian Upper && CCI < -100 (breakout up with oversold conditions). Short entry occurs when Price < Donchian Lower && CCI > 100 (breakout down with overbought conditions). It is suitable for traders seeking opportunities in mixed markets.
Testing indicates an average annual return of about 43%. It performs best in the stocks market.
Details
- Entry Criteria:
- Long: Price > Donchian Upper && CCI < -100 (breakout up with oversold conditions)
- Short: Price < Donchian Lower && CCI > 100 (breakout down with overbought conditions)
- Long/Short: Both sides.
- Exit Criteria:
- Long: Exit long position when price falls below middle band
- Short: Exit short position when price rises above middle band
- Stops: Yes.
- Default Values:
DonchianPeriod
= 20CciPeriod
= 20StopLossPercent
= 2mCandleType
= TimeSpan.FromMinutes(5)
- Filters:
- Category: Mixed
- Direction: Both
- Indicators: Donchian CCI
- Stops: Yes
- Complexity: Intermediate
- Timeframe: Intraday
- 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.
Fix C# strategy indentation