Agent skill

Elliott Wave Signal Engine

by HKUDS in HKUDS/Vibe-Trading

Detects Elliott Wave structures in price data with a Zigzag swing finder and Fibonacci checks, and turns completed waves into long, short or flat signals.

MITAuto-check passedBusiness, Finance & HR

Install Elliott Wave Signal Engine

skills CLI
$ npx skills add HKUDS/Vibe-Trading --skill elliott-wave -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/Vibe-Trading elliott-wave --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/elliott-wave .claude/skills/elliott-wave && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
elliott-wave
GitHub stars
35k
Token cost
~482 tokens
SKILL.md length
204 words
Files
4 (incl. references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Detects Elliott Wave structures in price data with a Zigzag swing finder and Fibonacci checks, and turns completed waves into long, short or flat signals.

  • Works in 3 steps: Wave 2 cannot retrace beyond the start… → Wave 3 cannot be the shortest impulse wave → Wave 4 cannot enter the price territory…
  • Backtesting a wave-based trend-top and correction-complete signal on price history
  • SKILL.md covers Purpose, Core Rules, Signal Logic and Parameters, plus 3 more sections
  • Runs Python scripts from its folder; calls pip

What it does

Elliott Wave theory is implemented here as a pandas-based signal engine. It finds swing points with a Zigzag routine, matches five-wave impulse and three-wave corrective patterns, and checks them against the three impulse rules and Fibonacci relationships between waves, such as wave 3 at 1.618 times wave 1.

A completed five-wave advance produces a sell signal at the trend top, a finished A-B-C pullback produces a buy, and a wave 3 in progress produces no reversal signal. Signals use 1 for long, -1 for short and 0 for standing aside. The tunable parameters are swing_window (default 10), fib_tolerance (0.15) and min_wave_bars (5).

The notes admit that wave counting is subjective and automatic counts can have several readings, so the engine settles on one simple interpretation and prefers missing a signal to misclassifying one. The folder holds example_signal_engine.py and two reference notes on wave structure and Fibonacci relations, and the dependencies are pandas, numpy and requests.

When your agent uses it

  • Backtesting a wave-based trend-top and correction-complete signal on price history
  • Checking whether a price series fits a five-wave impulse followed by an A-B-C correction
  • Adding an Elliott Wave rule to an existing signal engine

Example prompts

  • “Run the Elliott Wave signal engine on the daily closes in ./data/spy.csv.”
  • “Count the waves in this price series and list where a five-wave advance completes.”
  • “Loosen the Fibonacci tolerance and show how many signals change.”

Requirements

  • Python with pandas, numpy and requests installed via pip

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit e532650. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Elliott Wave Signal Engine loads about 482 tokens when it runs, and up to ~962 if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 204 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~482
With references · SKILL.md plus every file in references/, read only if the agent opens them
~962

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/Vibe-Trading at commit e532650, republished under its MIT licence (© HKUDS). 204 words, ~482 tokens.

Download SKILL.mdSave it as .claude/skills/elliott-wave/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
elliott-wave
description
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.
category
strategy

Elliott Wave Theory

Purpose

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

StructureWave CountDirectionMeaning
Impulse wave5 waves (1-2-3-4-5)Trend-followingMain trend direction
Corrective wave3 waves (A-B-C)Counter-trendPullback 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

ParameterDefaultDescription
swing_window10Rolling window for swing-point detection
fib_tolerance0.15Tolerance for Fibonacci ratios
min_wave_bars5Minimum 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

bash
pip install pandas numpy requests

Signal Convention

  • 1 = long, -1 = short, 0 = stand aside

© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in agent/src/skills/elliott-wave of HKUDS/Vibe-Trading.

  • SKILL.md
  • example_signal_engine.py
  • references/Fibonacci浪间关系.md
  • references/波浪结构.md

Open the folder on GitHubat commit e532650

Compare with similar skills

Elliott Wave Signal Engine next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Elliott Wave Signal Engine compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Elliott Wave Signal Engine this skillHKUDS/Vibe-Trading35k—~482Automated safety check: PassMIT
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone
Quant Blog Writingzillionare/zillionare321—~895Automated safety check: PassNone
WorldQuant BRAIN Alpha ResearchQuantML-Research/wq-alpha-research405—~4.9kAutomated safety check: PassNone
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
Backtestinggauss314/skills247—~2.4kAutomated safety check: PassMIT

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Quant Blog Writing

    zillionare/zillionare

    撰写文笔精炼、富有深度的量化交易博文,论点清晰、证据确凿、叙事层次更加丰富。适用于量化交易博文、因子研究、回测复盘、数据源排查、市场微观结构、策略原理、风险控制、职业观察、量化人物故事等选题。文章将聚焦具体角度,提供详实的大纲、证据规划及成稿,力求内容兼具思想深度与诚实性,而非单纯口号式宣传;同时,通过人物经历、引言、贡献及行业背景的融入,让文章更具可读性和吸引力。

    321 GitHub stars~895 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • WorldQuant BRAIN Alpha Research

    QuantML-Research/wq-alpha-research

    Chinese-language playbook for WorldQuant BRAIN alphas: choose fields, write expressions, backtest, diagnose check failures, tune turnover, submit and build portfolios.

    405 GitHub stars~4.9k tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Backtesting

    gauss314/skills

    Academic backtesting framework for quantitative research. An agent skill from gauss314/skills.

    247 GitHub stars~2.4k tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check passed
  • Tiger Brokers OpenAPI SDK

    qusong0627/QuantMind

    Covers the Tiger Brokers OpenAPI Python SDK for market data, stock, futures and options trading, push subscriptions, a CLI and an MCP server, defaulting to paper trading.

    1.7k GitHub stars~1.4k tokensUpdated today
    Business, Finance & HRAuto-check passed

More from HKUDS/Vibe-Trading

All 89 skills in this repo
  • Eastmoney Market Data

    HKUDS/Vibe-Trading

    Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

    35k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • OKX Market Data

    HKUDS/Vibe-Trading

    Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.

    35k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • SEC EDGAR Filings Fetcher

    HKUDS/Vibe-Trading

    Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.

    35k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • A-Share ST Risk Screener

    HKUDS/Vibe-Trading

    Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.

    35k GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed
  • Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.

    35k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.

    35k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Questions about Elliott Wave Signal Engine

What does Elliott Wave Signal Engine do?

Detects Elliott Wave structures in price data with a Zigzag swing finder and Fibonacci checks, and turns completed waves into long, short or flat signals. Elliott Wave theory is implemented here as a pandas-based signal engine.618 times wave 1.

When should I use Elliott Wave Signal Engine?

Elliott Wave Signal Engine fits situations like: backtesting a wave-based trend-top and correction-complete signal on price history; checking whether a price series fits a five-wave impulse followed by an A-B-C correction; adding an Elliott Wave rule to an existing signal engine.

How do I install Elliott Wave Signal Engine in Claude Code?

Run `npx skills add HKUDS/Vibe-Trading --skill elliott-wave -a claude-code`. Or copy the skill folder (agent/src/skills/elliott-wave in HKUDS/Vibe-Trading) into .claude/skills/elliott-wave in your project. Claude Code loads it when a task matches its description.

How do I install Elliott Wave Signal Engine in Codex?

Run `npx skills add HKUDS/Vibe-Trading --skill elliott-wave -a codex`. Or copy the skill folder (agent/src/skills/elliott-wave in HKUDS/Vibe-Trading) into .agents/skills/elliott-wave in your project. Codex loads it when a task matches its description.

Can I use Elliott Wave Signal Engine in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill elliott-wave -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elliott-wave, .gemini/skills/elliott-wave, .github/skills/elliott-wave and .opencode/skills/elliott-wave in your project.

What does Elliott Wave Signal Engine need to run?

Going by SKILL.md and its folder, Elliott Wave Signal Engine needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python with pandas, numpy and requests installed via pip.

Does Elliott Wave Signal Engine access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Elliott Wave Signal Engine safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Elliott Wave Signal Engine use?

Elliott Wave Signal Engine is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Elliott Wave Signal Engine use?

About 482 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 480 tokens, read only when the agent opens those files.

What are the alternatives to Elliott Wave Signal Engine?

Skills that share tags, products or a category with Elliott Wave Signal Engine: Tushare Data (zillionare/zillionare, 321 stars), Quant Blog Writing (zillionare/zillionare, 321 stars), WorldQuant BRAIN Alpha Research (QuantML-Research/wq-alpha-research, 405 stars) and Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Elliott Wave Signal Engine?

HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 35,043 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 8, 2026.

Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.