harmonic-pattern-engine

Detect XABCD harmonic patterns from price series using Fibonacci ratios.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill harmonic-pattern-engine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harmonic-pattern-engine
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/harmonic-pattern-engine
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill harmonic-pattern-engine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Harmonic pattern detection in price data using Fibonacci ratios to identify actionable chart patterns such as Gartley, Butterfly, Bat, Crab, and Cypher.

Core Features & Use Cases

  • Detect XABCD harmonic patterns from swing points in price series.
  • Validate Fibonacci-based ratios for X, A, B, C, D coordinates.
  • Output pattern name, coordinates, and trading signal guidance for integration with other engines like fibonacci-harmonic-wave.
  • Suitable for real-time scanning or historical backtesting in trading workflows.

Quick Start

Analyze a price series to detect harmonic patterns and return the XABCD coordinates with proposed trades.

Frequently Asked Questions about harmonic-pattern-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect harmonic patterns in price data for technical analysis?

Detect harmonic patterns in price data by applying Fibonacci-based ratios to historical or real-time price series to identify actionable chart patterns and validate XABCD swing point coordinates.

What harmonic chart patterns can I identify using Fibonacci ratios?

Fibonacci ratio validation identifies Gartley, Butterfly, Bat, Crab, and Cypher formations by evaluating the proportional relationships between the X, A, B, C, and D swing points in a price series.

Can I use harmonic pattern detection for real-time scanning and historical backtesting?

Harmonic pattern detection applies to both real-time scanning and historical backtesting workflows, outputting pattern names, coordinates, and trading signal guidance for integration with other analytics engines.

How do XABCD coordinates validate a harmonic trading signal?

XABCD coordinates validate a harmonic trading signal by measuring Fibonacci-based ratios between swing points, confirming that the structural proportions match specific pattern definitions before generating actionable trade guidance.

What's the best way to integrate harmonic pattern extraction with other trading analytics engines?

Integrate harmonic pattern extraction by passing the validated XABCD coordinates, pattern names, and trading signal outputs directly into downstream trading analytics engines like fibonacci-harmonic-wave for further analysis.

Do I need external dependencies to run harmonic pattern detection on a price series?

Harmonic pattern detection runs without external dependencies, applying Fibonacci-based ratio validation directly to historical or real-time price series to extract pattern formations independently.