StockSharp.Strategies.0038_BB_Width.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0038_BB_Width.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0038_BB_Width.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0038_BB_Width.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0038_BB_Width.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0038_BB_Width.py" />
paket add StockSharp.Strategies.0038_BB_Width.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0038_BB_Width.py, 5.0.1"
#:package StockSharp.Strategies.0038_BB_Width.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0038_BB_Width.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0038_BB_Width.py&version=5.0.1
Bollinger Band Width Breakout (Python Version)
Bollinger Band Width measures the spread between the upper and lower bands. Expanding width suggests volatility and possible trend formation. This strategy trades breakouts when the width is increasing.
Testing indicates an average annual return of about 151%. It performs best in the stocks market.
Price position relative to the middle band sets direction. A widening channel with price above the mid-band triggers longs, while a widening channel below it triggers shorts.
Exits occur when the band width contracts or a volatility stop is reached.
Details
- Entry Criteria: Band width expanding and price relative to middle band.
- Long/Short: Both directions.
- Exit Criteria: Band width contracts or stop.
- Stops: Yes.
- Default Values:
BollingerPeriod
= 20BollingerDeviation
= 2.0mAtrMultiplier
= 2.0mCandleType
= TimeSpan.FromMinutes(5)
- Filters:
- Category: Breakout
- Direction: Both
- Indicators: Bollinger Bands, ATR
- Stops: Yes
- Complexity: Basic
- 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.
Move reset logic to OnReseted in initial strategies