StockSharp.Strategies.0044_ATR_Range.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0044_ATR_Range.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0044_ATR_Range.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0044_ATR_Range.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0044_ATR_Range.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0044_ATR_Range.py" />
paket add StockSharp.Strategies.0044_ATR_Range.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0044_ATR_Range.py, 5.0.1"
#:package StockSharp.Strategies.0044_ATR_Range.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0044_ATR_Range.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0044_ATR_Range.py&version=5.0.1
ATR Range Breakout (Python Version)
ATR Range Breakout measures price movement over a fixed number of bars and compares it with the average true range. When the move exceeds the ATR, a position is opened in the direction of the move.
Testing indicates an average annual return of about 169%. It performs best in the crypto market.
The strategy checks price every N bars and uses the moving average for exit signals. It aims to capture momentum when volatility expands beyond normal levels.
Trades close when price crosses back through the moving average or when the stop based on ATR fires.
Details
- Entry Criteria: Price moves more than ATR over the lookback period.
- Long/Short: Both directions.
- Exit Criteria: Price crosses MA or stop.
- Stops: Yes.
- Default Values:
MAPeriod
= 20ATRPeriod
= 14LookbackPeriod
= 5CandleType
= TimeSpan.FromMinutes(5)
- Filters:
- Category: Breakout
- Direction: Both
- Indicators: ATR, MA
- 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