★ ★ ★LIVE97 COINS ANALYZED BY CLAUDE MCP·VIEW SKILLS →★ ★ ★
MCP
claude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updatedclaude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updated
BACK TO CLAUDE SKILLS

detect_candlestick_patterns

Chart AnalysisCandlesPattern
INSTALLATION
$python -c "exec(open('detect_candlestick_patterns.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Analyzes the most recent candle's body-to-range ratio and wick structure to classify it as one of the common single-candle patterns: doji (body < 10% of range), hammer (lower wick > 2× body), or normal. The function is intentionally minimal — it provides a fast heuristic rather than a full pattern library.

For richer pattern detection, extend the function to check the prior candle for engulfing patterns (the current candle's body completely covers the prior candle's body in the opposite direction) or morning/evening stars (three-candle reversal formations). Return the pattern name as a string that Claude can reference in its narrative generation.

[ USAGE EXAMPLE ]
example.py
pattern = detect_candles(o, h, l, c)
if pattern == "hammer":
    print("Potential reversal at support")
[ FULL CODE ]
detect_candlestick_patterns.py
def detect_candles(o, h, l, c): body = abs(c[-1]-o[-1]) rng = h[-1]-l[-1] if body/rng < 0.1: return "doji" lwick = min(o[-1],c[-1])-l[-1] if lwick > 2*body: return "hammer" return "normal"
[ METADATA ]
CategoryChart Analysis
ComplexityBeginner
LanguagePython 3.10+
TagsCandles, Pattern
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]