harmonic-patterns

Identify XABCD harmonic patterns and generate long/short signals at the D point.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill harmonic-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harmonic-patterns
Source: https://github.com/loanntc/Paave/tree/main/skills/harmonic
Command: npx skills add https://github.com/loanntc/Paave --skill harmonic-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, requests, pyharmonics, and includes references (resource) components.

What problem does it solve?

It helps analysts automatically find XABCD harmonic chart structures and convert them into actionable long/short signals near the PRZ reversal zone, reducing manual pattern scanning effort.

Core Features & Use Cases

  • Harmonic pattern identification: Detects Gartley, Bat, Butterfly, and Crab patterns using Fibonacci geometry over X-A-B-C-D swings.
  • PRZ-focused signaling: Emits signals specifically at the D point (potential reversal zone) using a bullish/bearish convention (bullish D bottom → long; bearish D top → short).
  • Two detection backends: Prefers pyharmonics for richer detection, with a built-in fallback swing-combination detector when pyharmonics is unavailable.
  • Use Case: Scan BTC/ETH/SOL OHLCV data to find recurring harmonic PRZ setups and generate a per-timestamp signal series for backtesting or strategy prototypes.

Quick Start

Run the harmonic-patterns signal engine on your OHLCV DataFrame(s) and return a signal series where 1 indicates long, -1 indicates short, and 0 indicates stand aside.

Frequently Asked Questions about harmonic-patterns

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

FAQPage Schema
How do I detect harmonic patterns in OHLCV time series data?

To detect harmonic patterns in OHLCV time series data, the Skill identifies XABCD chart structures using Fibonacci retracement and extension rules. It processes batch OHLCV inputs with high, low, open, and close prices to find Gartley, Bat, Butterfly, and Crab patterns across instruments.

How do Fibonacci geometry and PRZ logic generate trading signals?

Fibonacci geometry and PRZ logic generate trading signals by identifying the XABCD swing points and emitting reversal signals at the D point. A bullish D bottom outputs a 1 for long, a bearish D top outputs -1 for short, and 0 stands for neutral.

Can I scan crypto OHLCV data for Gartley or Bat patterns for backtesting?

Yes, you can scan crypto OHLCV data for Gartley or Bat patterns for backtesting. The Skill applies batch processing to OHLCV time series for BTC, ETH, or SOL, generating a per-timestamp signal series suitable for trading signal research and strategy prototypes.

Do I need pyharmonics installed to identify XABCD chart patterns?

You do not need pyharmonics installed to identify XABCD chart patterns. The Skill prefers pyharmonics for richer detection but includes a built-in fallback swing-combination detector that automatically processes Fibonacci geometry when the dependency is unavailable.

What is the difference between harmonic pattern detection and general time series analysis?

Harmonic pattern detection specifically identifies structural XABCD chart formations and PRZ reversal zones using Fibonacci geometry, whereas general time series analysis evaluates broader statistical trends. This targeted approach outputs discrete long, short, and neutral signals for market scanning.

What are the limitations of using harmonic patterns for reversal signals?

A limitation of using harmonic patterns for reversal signals is that outputs are strictly 1, -1, or 0 at the D point, lacking continuous price targets. It requires structured OHLCV inputs with timestamps and focuses purely on Fibonacci-based PRZ setups without guaranteed outcomes.