StockSharp.Strategies.0043_VCP.py
5.0.1
Prefix Reserved
dotnet add package StockSharp.Strategies.0043_VCP.py --version 5.0.1
NuGet\Install-Package StockSharp.Strategies.0043_VCP.py -Version 5.0.1
<PackageReference Include="StockSharp.Strategies.0043_VCP.py" Version="5.0.1" />
<PackageVersion Include="StockSharp.Strategies.0043_VCP.py" Version="5.0.1" />
<PackageReference Include="StockSharp.Strategies.0043_VCP.py" />
paket add StockSharp.Strategies.0043_VCP.py --version 5.0.1
#r "nuget: StockSharp.Strategies.0043_VCP.py, 5.0.1"
#:package StockSharp.Strategies.0043_VCP.py@5.0.1
#addin nuget:?package=StockSharp.Strategies.0043_VCP.py&version=5.0.1
#tool nuget:?package=StockSharp.Strategies.0043_VCP.py&version=5.0.1
Volatility Contraction Pattern (Python Version)
The VCP strategy looks for a sequence of narrowing price ranges. As each range contracts, energy builds for a breakout. The system measures range size and waits for a break above the highest high or below the lowest low.
Testing indicates an average annual return of about 166%. It performs best in the stocks market.
Once contraction is observed, a breakout beyond the recent extremes triggers a trade in that direction. Price crossing the moving average is used to manage exits.
This approach aims to capture explosive moves following a volatility squeeze.
Details
- Entry Criteria: Range contraction then breakout of recent high/low.
- Long/Short: Both directions.
- Exit Criteria: Price crosses MA or stop.
- Stops: Yes.
- Default Values:
MAPeriod
= 20LookbackPeriod
= 20CandleType
= TimeSpan.FromMinutes(5)
- Filters:
- Category: Breakout
- Direction: Both
- Indicators: Range, MA
- 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.
Move reset logic to OnReseted in initial strategies