Market pattern

From ruvnet/ruflo · View interactive version

Market pattern is an AI agent skill from the GitHub repository ruvnet/ruflo. Detect and classify candlestick patterns from ingested OHLCV data

How to use this skill

Skill file

Market Pattern

Scan ingested OHLCV data for known candlestick patterns, classify them by type and reliability, and store for future reference.

When to use

When you need to identify candlestick patterns (doji, hammer, engulfing, head-shoulders, etc.) in market data. Requires data to be ingested first via market-ingest.

Steps

  1. Load candles -- call mcp__plugin_ruflo-core_ruflo__memory_search (or memory_list) on the market-data namespace to retrieve normalized OHLCV data for the symbol and period. The memory_* tool family routes by namespace; the agentdb_hierarchical-* family does NOT (it routes by tier), so use memory_* for namespaced reads.
  2. Scan for patterns -- iterate through candle sequences looking for:
  1. Classify -- for each detection, assign: pattern name, type (reversal/continuation), direction (bullish/bearish), reliability score (0.0-1.0)
  2. Rank -- sort by reliability score descending
  3. Store -- two paths (per ruflo-cost-tracker ADR-0001 dual-path pattern):
  1. Report -- display: pattern name, date range, direction, reliability, suggested action

CLI alternative

npx @claude-flow/cli@latest memory search --query "bullish reversal patterns" --namespace market-patterns
npx @claude-flow/cli@latest memory store --key "pattern-AAPL-2026-05-04-doji" --value '{...}' --namespace market-patterns
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.