longbridge-elliott

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-elliott

longbridge-elliott

艾略特波浪理论信号引擎:基于 Zigzag 摆动点识别,自动匹配五浪推动结构(1-2-3-4-5)与三浪调整结构(A-B-C),辅以斐波那契比率校验,输出当前波浪位置、目标价位与止损风险位。
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
Elliott Wave Theory Signal Engine: Based on Zigzag swing point recognition, automatically matches 5-wave impulse structures (1-2-3-4-5) and 3-wave corrective structures (A-B-C), supplemented by Fibonacci ratio validation, and outputs current wave position, target price, and stop-loss risk level.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.

When to use

When to use

  • 用户询问波浪计数:"AAPL 现在走到几浪了""TSLA 是不是在 4 浪调整""700.HK 的 Elliott wave 分析"
  • 判断行情是否处于推动浪(看多)或调整浪(看空)
  • 结合斐波那契位置估算目标价和回调支撑
  • 用户提到"艾略特"、"浪计数"、"五浪结构"等关键词
  • When users ask about wave counts: "AAPL 现在走到几浪了", "TSLA 是不是在 4 浪调整", "700.HK 的 Elliott wave 分析"
  • Determine whether the market is in an impulse wave (bullish) or corrective wave (bearish)
  • Estimate target prices and pullback support levels based on Fibonacci positions
  • When users mention keywords like "艾略特", "浪计数", "五浪结构"

Workflow

Workflow

  1. 提取标的代码,标准化为
    <CODE>.<MARKET>
    格式。
  2. 获取日线 OHLCV 数据(200 根 K 线):
    bash
    longbridge kline <SYMBOL> --period day --count 200 --format json
  3. Zigzag 识别摆动点(Python 实现,threshold 默认 5%):
    python
    def zigzag(highs, lows, threshold=0.05):
        # 寻找局部高低点序列
        # 相邻同向点取极值合并,反向超过 threshold 才确认新摆动点
        ...
  4. 匹配五浪推动结构,需满足:
    • 波 3 不是最短浪(通常最长)
    • 波 4 不与波 1 价格区间重叠
    • 波 2 回撤不超过波 1 起点
  5. 斐波那契校验
    • 波 2 回撤:0.382–0.618 × 波 1
    • 波 3 延伸:≥ 1.618 × 波 1(常见 1.618–2.618)
    • 波 4 回撤:0.236–0.382 × 波 3
    • 波 5 ≈ 波 1(容差 ±20%)
  6. 匹配三浪调整结构 A-B-C(推动浪结束后出现):
    • B 浪回撤:0.382–0.786 × A 浪
    • C 浪 ≈ A 浪(容差 ±20%)
  7. 输出当前波浪位置、目标价位、止损位。
若不确定 CLI 参数,先运行
longbridge kline --help
查看最新参数。
  1. Extract the target code and standardize it to
    <CODE>.<MARKET>
    format.
  2. Obtain daily OHLCV data (200 candlesticks):
    bash
    longbridge kline <SYMBOL> --period day --count 200 --format json
  3. Zigzag swing point recognition (implemented in Python, default threshold is 5%):
    python
    def zigzag(highs, lows, threshold=0.05):
        # 寻找局部高低点序列
        # 相邻同向点取极值合并,反向超过 threshold 才确认新摆动点
        ...
  4. Match 5-wave impulse structure, which must meet:
    • Wave 3 is not the shortest wave (usually the longest)
    • Wave 4 does not overlap with the price range of Wave 1
    • Wave 2 retracement does not exceed the starting point of Wave 1
  5. Fibonacci validation:
    • Wave 2 retracement: 0.382–0.618 × Wave 1
    • Wave 3 extension: ≥ 1.618 × Wave 1 (commonly 1.618–2.618)
    • Wave 4 retracement: 0.236–0.382 × Wave 3
    • Wave 5 ≈ Wave 1 (tolerance ±20%)
  6. Match 3-wave corrective structure A-B-C (appears after the end of impulse wave):
    • Wave B retracement: 0.382–0.786 × Wave A
    • Wave C ≈ Wave A (tolerance ±20%)
  7. Output current wave position, target price, and stop-loss level.
If unsure about CLI parameters, run
longbridge kline --help
to check the latest parameters first.

CLI

CLI

bash
undefined
bash
undefined

日线数据(主要数据源)

日线数据(主要数据源)

longbridge kline AAPL.US --period day --count 200 --format json
longbridge kline AAPL.US --period day --count 200 --format json

周线数据(辅助验证大级别波浪)

周线数据(辅助验证大级别波浪)

longbridge kline TSLA.US --period week --count 100 --format json
undefined
longbridge kline TSLA.US --period week --count 100 --format json
undefined

Output

Output

以自然语言呈现,包含:
  • 当前波浪位置:如"5 浪推动中的第 3 浪上升段"、"ABC 调整中的 C 浪"
  • 斐波那契关键位:目标价位(扩展位)+ 支撑/阻力位
  • 止损风险位:结构失效价位
  • 置信度说明:斐波那契比率符合程度(完全符合/部分符合/仅供参考)
  • 数据来源:Longbridge Securities / 数据来源:长桥证券 / 數據來源:長橋證券
Presented in natural language, including:
  • Current wave position: e.g., "Wave 3 uptrend within a 5-wave impulse", "Wave C within ABC correction"
  • Key Fibonacci levels: Target price (extension level) + support/resistance levels
  • Stop-loss risk level: Price level where the structure becomes invalid
  • Confidence explanation: Compliance with Fibonacci ratios (fully compliant/partially compliant/for reference only)
  • Data source: Longbridge Securities / 数据来源:长桥证券 / 數據來源:長橋證券

Error handling

Error handling

情形简体回复繁體回覆 / English
command not found: longbridge
尝试 MCP fallback;否则请安装 longbridge-terminal嘗試 MCP fallback;否則請安裝 longbridge-terminal / Try MCP fallback; otherwise install longbridge-terminal
stderr 含
not logged in
请运行
longbridge auth login
請運行
longbridge auth login
/ Run
longbridge auth login
Zigzag 摆动点不足建议增大
--count
或切换周线
--period week
建議增大
--count
或切換週線 / Increase
--count
or switch to
--period week
无法匹配任何波浪结构当前数据暂无清晰波浪结构,建议等待更多确认當前數據暫無清晰波浪結構 / No clear wave structure yet, wait for more confirmation
其他 stderr原样返回错误,不静默重试原樣返回錯誤 / Surface verbatim, never retry silently
其他 stderr原样透传,不静默重试
ScenarioSimplified Chinese ResponseTraditional Chinese / English Response
command not found: longbridge
Try MCP fallback; otherwise please install longbridge-terminal嘗試 MCP fallback;否則請安裝 longbridge-terminal / Try MCP fallback; otherwise install longbridge-terminal
stderr contains
not logged in
Please run
longbridge auth login
請運行
longbridge auth login
/ Run
longbridge auth login
Insufficient Zigzag swing pointsSuggest increasing
--count
or switching to weekly
--period week
建議增大
--count
或切換週線 / Increase
--count
or switch to
--period week
Cannot match any wave structureNo clear wave structure in current data, suggest waiting for more confirmation當前數據暫無清晰波浪結構 / No clear wave structure yet, wait for more confirmation
Other stderrReturn the error as is, do not retry silently原樣返回錯誤 / Surface verbatim, never retry silently
Other stderrPass through as is, do not retry silently

MCP fallback

MCP fallback

若 CLI 不可用且已配置 MCP:
CLI 命令MCP 工具
longbridge kline
mcp__longbridge__history_candlesticks
If CLI is unavailable and MCP is configured:
CLI CommandMCP Tool
longbridge kline
mcp__longbridge__history_candlesticks

Related skills

Related skills

用户询问路由至
实时股价/行情
longbridge-quote
K线图/历史价格
longbridge-kline
缠论分型/买卖点
longbridge-chanlun
谐波形态
longbridge-harmonic
聪明钱/SMC
longbridge-smc
基本面分析
longbridge-fundamental
User QueryRoute to
Real-time stock price/market quotes
longbridge-quote
Candlestick charts/historical prices
longbridge-kline
Chanlun patterns/buy-sell points
longbridge-chanlun
Harmonic patterns
longbridge-harmonic
Smart money/SMC
longbridge-smc
Fundamental analysis
longbridge-fundamental

File layout

File layout

longbridge-elliott/
└── SKILL.md
longbridge-elliott/
└── SKILL.md