StratCraft
Strategy Type

Breakout Trading Strategies

Channel Break & Trend Initiation Capture

Breakout strategies identify key support and resistance levels, entering positions when price breaks through these levels with increased volume. These strategies capture the initial momentum of new trends as markets escape consolidation ranges.

3 algorithms1 libraries

How breakout algorithms connect across libraries

πŸ’₯Breakout
πŸ”§
vn.py3 algos
BollChannelStrategyintermediate
DualThrustStrategyintermediate
KingKeltnerStrategyintermediate

How breakout algorithms work together in a trading system

1
πŸ“Š

Range Identification

Support/resistance detection

Donchian channel bounds
Consolidation pattern
2
πŸ’₯

Breakout Trigger

Level breach detection

Price closes above resistance
Volume expansion > 1.5x
3
πŸ“ˆ

Entry Execution

Trend initiation capture

Market order on break
Retest confirmation (optional)
4
πŸƒ

Trailing Stop

Trend following exit

ATR-based trailing stop
Channel re-entry exit
5
πŸ›‘οΈ

False Breakout Filter

Whipsaw protection

Volume confirmation required
Time-based invalidation

Compare breakout algorithms across key dimensions

Algorithm Comparison MatrixClick a column to expand details
Metric
BollChannelStrategyvn.py
DualThrustStrategyvn.py
KingKeltnerStrategyvn.py
🎯Complexity⭐⭐⭐intermediate⭐⭐⭐intermediate⭐⭐⭐intermediate
πŸ“ˆPrediction TypeMixedMixedMixed
⚑Training Speed⚑⚑⚑⚑⚑⚑
🎯AccuracyπŸ“ŠπŸ“ŠπŸ“ŠπŸ“ŠπŸ“ŠπŸ“Š
πŸ’‘Best ForGeneral purposeGeneral purposeGeneral purpose
Complexity:

vn.py

BollChannelStrategy
vn.py
Breakoutintermediate

Bollinger Band channel breakout strategy entering on band expansion and exiting on contraction.

Speed⚑⚑
AccuracyπŸ“ŠπŸ“ŠπŸ“Š
Key Parameters
boll_window18Bollinger Band period
boll_dev3.4Standard deviation multiplier
Source:vnpy_ctastrategy
DualThrustStrategy
vn.py
Breakoutintermediate

Intraday breakout strategy calculating upper/lower bands from previous day's range for entry signals.

Speed⚑⚑
AccuracyπŸ“ŠπŸ“ŠπŸ“Š
Key Parameters
k10.4Upper band coefficient
k20.6Lower band coefficient
Source:vnpy_ctastrategy
KingKeltnerStrategy
vn.py
Breakoutintermediate

Keltner Channel breakout strategy using EMA center line and ATR-based upper/lower bands.

Speed⚑⚑
AccuracyπŸ“ŠπŸ“ŠπŸ“Š
Key Parameters
kk_length11Keltner Channel period
kk_dev1.6ATR multiplier for bands
Source:vnpy_ctastrategy

Breakout Trading Strategies β€” Algorithm Reference

BollChannelStrategy (vn.py)
Bollinger Band channel breakout strategy entering on band expansion and exiting on contraction. Key parameters: boll_window (Bollinger Band period), boll_dev (Standard deviation multiplier). Source: https://github.com/vnpy/vnpy_ctastrategy.
DualThrustStrategy (vn.py)
Intraday breakout strategy calculating upper/lower bands from previous day's range for entry signals. Key parameters: k1 (Upper band coefficient), k2 (Lower band coefficient). Source: https://github.com/vnpy/vnpy_ctastrategy.
KingKeltnerStrategy (vn.py)
Keltner Channel breakout strategy using EMA center line and ATR-based upper/lower bands. Key parameters: kk_length (Keltner Channel period), kk_dev (ATR multiplier for bands). Source: https://github.com/vnpy/vnpy_ctastrategy.