Skip to content

Vcp


class backtide.strategies.Vcp(lookback=60, contractions=3)

Volatility Contraction Pattern breakout strategy.

Detects a Volatility Contraction Pattern: a series of progressively tighter price consolidations with declining volume. When both price range and volume have contracted sufficiently, the strategy enters long on a breakout above the consolidation ceiling. Useful for swing trading setups where decreasing supply precedes a sharp move.

Parameters

lookback : int, default=60

Number of bars to detect the contraction pattern.

contractions : int, default=3
Minimum number of contracting ranges required.

Attributes

name : str

Human-readable strategy name.

is_multi_asset : bool
Whether this is a multi-asset strategy.


See Also

DoubleTop

Chart-pattern breakout triggered by a double-top formation.

RiskAverse

Low-volatility breakout strategy for risk-conscious investors.

TurtleTrading

Classic channel-breakout trend-following system with ATR-based position sizing.


Methods

description Short explanation of what the strategy does.
required_indicators Indicators that must be computed up-front for this


method backtide.strategiesdescription()

Short explanation of what the strategy does.

Returns

str

The description.



method backtide.strategiesrequired_indicators()

Indicators that must be computed up-front for this

strategy.

Returns a list of indicator instances, already parameterised with this strategy's current settings, that the engine will auto-include before the simulation starts.

Returns

list

The required indicator instances.