跳到正文
Skillpedia
分析与电子表格37k · #7516

elliott-wave

它能做什么

这项技能将艾略特波浪理论应用于价格数据。适合希望使用规则清晰的结构化波浪计数的技术型交易者,并且他们知道计数可能带有主观性。

适用场景

  • ✓当你想在价格图表中数出五浪上涨和三浪调整的时候。
  • ✓当你想知道趋势是否可能接近顶部,或回调是否即将结束的时候。
  • ✓当你想要一份遵循固定规则的自动波浪计数的时候。

技能链接

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/elliott-wave/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请将艾略特波浪规则应用于这份价格历史,并告诉我趋势看起来是否接近顶部,或调整是否已经完成。”

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

工作原理

智能体会在价格数据中找出摆动点,匹配五浪和三浪结构,并依据波浪规则和斐波那契比率进行核对。当五浪上涨或 ABC 调整看似完成时,它会生成信号。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Elliott Wave Theory

Purpose

Classic wave theory based on the core assumption that markets move in fractal wave structures:

Structure Wave Count Direction Meaning
Impulse wave 5 waves (1-2-3-4-5) Trend-following Main trend direction
Corrective wave 3 waves (A-B-C) Counter-trend Pullback correction

Core Rules

Three Iron Rules for Impulse Waves

  1. Wave 2 cannot retrace beyond the start of wave 1
  2. Wave 3 cannot be the shortest impulse wave
  3. Wave 4 cannot enter the price territory of wave 1

Fibonacci Relationships Between Waves

  • Wave 2 retraces 0.5-0.618 of wave 1
  • Wave 3 = wave 1 × 1.618 (most common)
  • Wave 4 retraces 0.382 of wave 3
  • Wave 5 ≈ the length of wave 1

Signal Logic

  • 5-wave advance completed → sell (trend top)
  • ABC pullback completed → buy (correction finished)
  • Wave 3 in progress → stay with the trend (no reversal signal is generated)

Parameters

Parameter Default Description
swing_window 10 Rolling window for swing-point detection
fib_tolerance 0.15 Tolerance for Fibonacci ratios
min_wave_bars 5 Minimum number of candles per wave

Notes

Wave theory is highly subjective, and automatic counting can yield multiple interpretations. This implementation uses a "simplest effective single interpretation" strategy and would rather miss signals than misclassify them.

Dependencies

pip install pandas numpy requests

Signal Convention

  • 1 = long, -1 = short, 0 = stand aside
  • A swing point is only known swing_window bars after it forms, so the signal is stamped on that confirmation bar, not on the swing bar itself
常见问题

波浪计数总是准确的吗?

不是。波浪计数带有主观性,自动计数可能有多种合理的读法,因此结果需要经过检验。

主要的波浪规则有哪些?

第二浪不能回撤到第一浪的起点之外,第三浪不能是最短的推动浪,第四浪不能进入第一浪的价格区间。

它会在第三浪期间发出信号吗?

不会。在活跃的第三浪期间,它会顺应趋势,不会生成反转信号。

详情

作者的原始描述

Elliott Wave Theory signal engine. Detects swing points through Zigzag, matches 5-wave impulse and 3-wave corrective structures, validates them with Fibonacci wave relationships, and generates trend-top / correction-complete signals. Pure in-house pandas implementation.

repo: HKUDS/Vibe-Trading

热度

GitHub 星标
37k
排名
#7516
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能