market-pattern

Detect and classify candlestick patterns from ingested OHLCV market data.

70.1k|8.4k|Updated Jun 2, 2025
One-click install
npx skills add https://github.com/ruvnet/claude-flow --skill market-pattern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-pattern
Source: https://github.com/ruvnet/claude-flow/tree/main/plugins/ruflo-market-data/skills/market-pattern
Command: npx skills add https://github.com/ruvnet/claude-flow --skill market-pattern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually scanning price charts for candlestick patterns is slow and error-prone. This Skill automates detection and classification of patterns like doji, hammer, engulfing, and head-and-shoulders from ingested OHLCV data, ranking them by reliability.

Core Features & Use Cases

  • Pattern Detection: Scans candle sequences for single-candle (doji, hammer), two-candle (engulfing), three-candle (morning star), and multi-candle (head & shoulders, double top) formations.
  • Classification & Ranking: Assigns each detection a type (reversal/continuation), direction (bullish/bearish), and reliability score, then sorts results by score.
  • Persistent Storage: Stores detected patterns via typed pattern-store or namespace-routed memory for later retrieval and analysis.
  • Use Case: After ingesting AAPL daily candles, run this Skill to surface a bullish engulfing pattern with a 0.82 reliability score and a suggested action.

Quick Start

Scan the ingested OHLCV data for AAPL on the daily period and report any candlestick patterns with their reliability scores.

Frequently Asked Questions about market-pattern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect candlestick patterns in OHLCV data?

Load normalized OHLCV candles from the market-data namespace, then scan candle sequences for known formations like doji, hammer, engulfing, and morning star. Each detection is classified by type, direction, and a reliability score from 0.0 to 1.0.

What candlestick patterns can this skill identify?

It detects single-candle patterns (doji, hammer, inverted hammer), two-candle patterns (bullish and bearish engulfing), three-candle patterns (morning star, evening star, three white soldiers, three black crows), and multi-candle patterns (head and shoulders, double top/bottom, cup and handle).

Do I need to ingest market data before pattern detection?

Yes, data must be ingested first via the market-ingest skill. Pattern detection reads normalized OHLCV candles from the market-data memory namespace, so running it without prior ingestion returns no data to scan.

How are detected candlestick patterns stored and retrieved?

Patterns are stored through the agentdb pattern-store with type market-pattern, or via memory_store in the market-patterns namespace. You can retrieve them later with memory search queries or the CLI memory search command.

What does the reliability score mean for a detected pattern?

The reliability score is a value from 0.0 to 1.0 assigned to each detection indicating confidence in the pattern. Results are ranked by this score in descending order so the strongest signals appear first in the report.