Loading...
Loading...
Harmonic Pattern Signal Engine - Identifies the XABCD five-point structure based on Fibonacci geometry, supports Gartley, Bat, Butterfly, and Crab patterns, and generates trading signals in the Potential Reversal Zone (PRZ). Triggers: "谐波形态", "谐波", "Gartley", "蝙蝠形态", "蝴蝶形态", "螃蟹形态", "XABCD", "潜在反转区", "PRZ", "斐波那契形态", "諧波形態", "諧波", "蝙蝠形態", "蝴蝶形態", "螃蟹形態", "harmonic pattern", "Gartley pattern", "Bat pattern", "Butterfly pattern", "Crab pattern", "PRZ", "potential reversal zone", "fibonacci harmonic"
npx skill4agent add longbridge/skills longbridge-harmonicResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
<CODE>.<MARKET>longbridge kline <SYMBOL> --period day --count 200 --format jsonAB/XABC/ABCD/BCAD/XA| Pattern | AB/XA | BC/AB | CD/BC | AD/XA |
|---|---|---|---|---|
| Gartley | 0.618 | 0.382–0.886 | 1.272–1.618 | 0.786 |
| Bat | 0.382–0.500 | 0.382–0.886 | 1.618–2.618 | 0.886 |
| Butterfly | 0.786 | 0.382–0.886 | 1.618–2.618 | 1.272–1.618 |
| Crab | 0.382–0.618 | 0.382–0.886 | 2.618–3.618 | 1.618 |
If you are unsure about CLI parameters, runfirst to check the latest parameters.longbridge kline --help
# Daily candlestick data (primary data source)
longbridge kline AAPL.US --period day --count 200 --format json
# 4-hour candlestick data (auxiliary confirmation for short-term patterns, optional)
longbridge kline TSLA.US --period 60m --count 200 --format json| Scenario | LLM Response |
|---|---|
| Try MCP fallback; otherwise, inform the user to install longbridge-terminal |
stderr contains | Inform the user to run |
| Insufficient Zigzag swing points (fewer than 5) | Suggest increasing |
| No harmonic pattern can be matched | Inform "No XABCD structure meeting the standard harmonic ratios is detected currently" |
| Other stderr | Pass through as-is, do not retry silently |
| CLI Command | MCP Tool |
|---|---|
| |
| User Inquiry | Route to |
|---|---|
| Real-time stock price/market quotes | |
| Candlestick charts/historical prices | |
| Chanlun patterns/buy-sell points | |
| Elliott Wave | |
| Smart Money Concepts (SMC) | |
| Capital flow | |
longbridge-harmonic/
└── SKILL.md