StockSharp.Strategies.0210_ADX_Donchian.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0210_ADX_Donchian.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0210_ADX_Donchian.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0210_ADX_Donchian.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0210_ADX_Donchian.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0210_ADX_Donchian.py" />
paket add StockSharp.Strategies.0210_ADX_Donchian.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0210_ADX_Donchian.py, 5.0.1"
#:package StockSharp.Strategies.0210_ADX_Donchian.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0210_ADX_Donchian.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0210_ADX_Donchian.py&version=5.0.1
ADX Donchian Strategy (Python Version)
This strategy uses ADX Donchian indicators to generate signals. Long entry occurs when ADX > AdxThreshold && Price >= upperBorder (strong trend with breakout up). Short entry occurs when ADX > AdxThreshold && Price ⇐ lowerBorder (strong trend with breakout down). It is suitable for traders seeking opportunities in mixed markets.
Testing indicates an average annual return of about 67%. It performs best in the stocks market.
Details
- Entry Criteria:
- Long: ADX > AdxThreshold && Price >= upperBorder (strong trend with breakout up)
- Short: ADX > AdxThreshold && Price ⇐ lowerBorder (strong trend with breakout down)
- Long/Short: Both sides.
- Exit Criteria:
- Long: Exit position when ADX falls below (threshold - 5)
- Short: Exit position when ADX falls below (threshold - 5)
- Stops: Yes.
- Default Values:
AdxPeriod
= 14DonchianPeriod
= 5StopLossPercent
= 2mCandleType
= TimeSpan.FromMinutes(5)AdxThreshold
= 10Multiplier
= 0.1m
- Filters:
- Category: Mixed
- Direction: Both
- Indicators: ADX Donchian
- 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