Chan Theory Financial Analysis for Openclaw

A technical analysis tool based on Chan Zhong Shuo Chan theory for identifying market structures, trend centers, and precise buying or selling points.

sanduan003
v1.1.0
Mar 7, 2026
2
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install chan-theory-analysis

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install chan-theory-analysis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Chan Theory Financial Analysis?

Chan Theory Financial Analysis is a robust technical tool designed for traders who utilize the Chan Zhong Shuo Chan (缠论) methodology. By integrating this skill through Openclaw Skills, users can automate the complex process of identifying market geometry, including strokes, segments, and trend centers. This implementation focuses on translating abstract theoretical concepts into concrete data points for A-shares, Hong Kong stocks, US stocks, and cryptocurrencies, helping traders navigate volatile markets with structural clarity.

The tool is particularly valuable for its ability to classify market movements into consolidation or trend categories, providing a systematic approach to market entry and exit. By leveraging Openclaw Skills, developers and traders can programmatically scan multiple assets to detect structural divergence and potential price reversals without manual chart mapping.

Chan Theory Financial Analysis Use Cases

  • Detecting high-probability Type 1, 2, and 3 buying and selling points across various asset classes.
  • Automated identification of trend centers to determine market consolidation versus expansion phases.
  • Real-time divergence monitoring using MACD and price action to spot trend exhaustion.
  • Global market screening for specific structural patterns in stocks and digital currencies.

How Chan Theory Financial Analysis Works

  1. The skill retrieves historical market data for the specified ticker using the yfinance library.
  2. It processes the K-line data to identify structural fractals, specifically top and bottom分型.
  3. Based on these fractals, the tool constructs valid strokes and segments to map price flow.
  4. It identifies trend centers by detecting overlapping price ranges, determining if the market is in a trend or consolidation.
  5. The system calculates MACD divergence and applies specific theory rules to output categorized signals and key price levels.

Chan Theory Financial Analysis Setup

To begin using this tool within the Openclaw Skills ecosystem, install the necessary Python dependencies:

pip3 install yfinance numpy --break-system-packages

You can then run the analysis for various symbols:

# For Cryptocurrency
python3 scripts/analyze.py BTC-USD

# For Hong Kong Stocks
python3 scripts/analyze.py 0700.HK

# For US Stocks
python3 scripts/analyze.py AAPL

Chan Theory Financial Analysis Data Schema & Taxonomy

The skill organizes market data into a structured format for easy interpretation:

Data Component Description
Stroke Analysis Tracks the number of valid strokes, current direction, and percentage magnitude.
Structural Classification Identifies the market state as Consolidation (one center) or Trend (multiple centers).
Buy/Sell Signal Categorizes points into Type 1 (Trend Divergence), Type 2 (Sub-level Pullback), and Type 3 (Breakout/Non-pullback).
Market Levels Provides automated detection of the highest and lowest price points and the current relative position percentage.

Chan Theory Financial Analysis Advanced Features

  • Support for Jing-Theory (井论) to handle non-standard trends and complex market reversals.
  • Automated divergence alerts based on MACD strength and price action relationships.
  • Cross-market compatibility allowing seamless analysis of stocks and crypto within a single Openclaw Skills environment.
  • Structural risk assessment through precise calculation of current position relative to historical volatility.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*