DoubleTop
class backtide.strategies.DoubleTop(lookback=60)
Chart-pattern breakout triggered by a double-top formation.
Detects a double-top chart pattern — two consecutive peaks at roughly the same price level — and enters long on the subsequent breakout above the neckline. Includes a trend filter and volume confirmation to reduce false breakouts. Useful for pattern-recognition-based breakout trading.
| Parameters |
Number of bars to search for the double-top pattern.
|
| Attributes |
Human-readable strategy name.
is_multi_asset : bool
Whether this is a multi-asset strategy.
|
See Also
Trend-following strategy driven by short-term price momentum.
Classic channel-breakout trend-following system with ATR-based position sizing.
Volatility Contraction Pattern breakout strategy.
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.
|