Detect candlestick patterns (engulfing, doji, hammer) for reversal and continuation signals. Use when you need to identify potential turning points or trend confirmations.
Analyzes candlestick chart patterns to detect:
Run the pattern detection script:
python src/agents/quant/skills/candlestick-patterns/candles.py --symbol AAPL --lookback 10
Returns JSON with detected patterns and current candle type:
{
"patterns": ["bullish_engulfing", "hammer"],
"last_candle_type": "bullish",
"last_body_pct": 65.5,
"pattern_count": 2
}
result = bash("python .claude/skills/candlestick-patterns/candles.py --symbol AAPL --lookback 10")
patterns = json.loads(result)
if 'bullish_engulfing' in patterns['patterns']:
print("Bullish engulfing detected - potential buy signal")
if patterns['last_candle_type'] == 'bullish' and patterns['last_body_pct'] > 70:
print("Strong bullish candle with conviction")