跳到正文
Skillpedia
分析与电子表格81k · #1644

market-pattern

它能做什么

这项技能在价格 K 线中查找知名的图表形态,并按类型和方向为每种形态加上标签。适合研究市场图表、希望快速获得一份排名形态列表的人。

适用场景

  • ✓当你想在某个代码的价格历史中查找 K 线形态时。
  • ✓当你想按可靠性评分对检测到的形态进行排序时。
  • ✓当你想保存形态结果以便之后比较时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-market-data/skills/market-pattern/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-market-data/skills/market-pattern/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在这只股票上一季度的数据中找出 K 线形态,并按可靠性排序。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能读取该代码和时间段的已存储 K 线,查找单根、两根、三根和多根 K 线组成的形态,并为每个匹配项给出名称、类型、方向以及 0 到 1 之间的可靠性评分。然后对结果排序并保存。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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:
    • Single-candle: doji (open ~= close), hammer (long lower wick), inverted hammer
    • Two-candle: bullish/bearish engulfing
    • Three-candle: morning star, evening star, three white soldiers, three black crows
    • Multi-candle: head & shoulders, double top/bottom, cup & handle
  3. Classify -- for each detection, assign: pattern name, type (reversal/continuation), direction (bullish/bearish), reliability score (0.0-1.0)
  4. Rank -- sort by reliability score descending
  5. Store -- two paths (per ruflo-cost-tracker ADR-0001 dual-path pattern):
    • Pattern-store (typed, recommended): mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store with type: 'market-pattern'. Don't pass a namespace arg — ReasoningBank routes it; on bridge unavailability the fallback writes to the reserved pattern namespace with controller: 'memory-store-fallback' (see ruflo-agentdb ADR-0001).
    • Plain store (namespace-routable): mcp__plugin_ruflo-core_ruflo__memory_store --namespace market-patterns — this DOES respect the market-patterns namespace because memory_* is namespace-routed.
  6. 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
常见问题

这项技能需要先有数据吗?

需要。在运行此技能之前,必须先用市场数据导入技能加载价格数据。

可靠性评分是什么意思?

它是给每个匹配项的一个 0.0 到 1.0 之间的数字,列表按最高分排在前面。

这些形态能预测未来价格吗?

不能。该技能只标注过去数据中出现的形态,不预测价格走势。

详情

作者的原始描述

Detect and classify candlestick patterns from ingested OHLCV data

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1644
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能