BACK TO CLAUDE SKILLS
◈
find_breakout_levels
Chart AnalysisBreakoutAnalysis
INSTALLATION
$python -c "exec(open('find_breakout_levels.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]
Identifies whether the most recent closing price has broken above the highest close or below the lowest close in the preceding lookback window. A bullish breakout occurs when price closes above the lookback high; a bearish breakout when below the lookback low; otherwise the market is consolidating.
The default lookback of 20 bars corresponds to roughly one trading month on a daily chart, making this function sensitive to monthly consolidation ranges. Pair with `detect_volume_anomalies` to filter for volume-confirmed breakouts only — price breaking range with high volume has historically been a more reliable continuation signal than low-volume breakouts.
[ USAGE EXAMPLE ]
[ FULL CODE ]
[ METADATA ]
CategoryChart Analysis
ComplexityBeginner
LanguagePython 3.10+
TagsBreakout, Analysis
[ ASK CLAUDE ]
Ask AI about this skill before installing it.
[ RELATED SKILLS ]