chanlun

Detects Chanlun market patterns and outputs buy/sell signals from OHLCV data using czsc and pandas.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ebrahim-sani/trading-automation --skill chanlun-ebrahim-sani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chanlun
Source: https://github.com/ebrahim-sani/trading-automation/tree/main/vibe-trading/agent/src/skills/chanlun
Command: npx skills add https://github.com/ebrahim-sani/trading-automation --skill chanlun-ebrahim-sani

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manual identification of Chanlun (缠论) market patterns is time‑consuming and error‑prone; this Skill automates the detection and signal generation for any OHLCV dataset.

Core Features & Use Cases

  • Automated pattern detection: Identifies fractals, bi, and Zhong Shu structures using the czsc library.
  • Multi‑tier signal output: Generates first, second, and third buy/sell signals across multiple timeframes.
  • Use case: Integrate into a crypto or equities trading bot to continuously feed actionable signals without manual analysis.

Quick Start

Ask the chanlun skill to analyze the BTC‑USDT daily data and return the latest buy or sell signals.

Frequently Asked Questions about chanlun

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

FAQPage Schema
How do I detect Chanlun patterns and generate trading signals from OHLCV data?

To detect Chanlun patterns and generate trading signals, you process OHLCV time series data through automated analysis. This identifies fractals, bi, and Zhong Shu structures, outputting structured long (1), short (-1), or neutral (0) signals.

What is the best way to automate Chanlun market pattern detection for crypto assets?

Automating Chanlun market pattern detection for crypto assets involves feeding OHLCV time series into an analytical library. This identifies fractals, bi, and Zhong Shu structures, generating first, second, and third buy/sell signals across multiple timeframes without manual charting.

Does the czsc library support multi-timeframe analysis for Chanlun signals?

Yes, the czsc library supports multi-timeframe analysis for Chanlun signals. It processes OHLCV time series across different timeframes to identify fractals, bi, and Zhong Shu structures, generating multi-tier buy and sell signals for any asset.

How do I integrate Chanlun buy and sell signals into a trading bot?

To integrate Chanlun buy and sell signals into a trading bot, pass OHLCV time series data to the analysis process. The system returns structured signals as 1 for long, -1 for short, or 0 for neutral, which your bot can execute automatically.

Why does manual identification of Chanlun patterns take so much time?

Manual identification of Chanlun patterns is time-consuming because it requires visually charting fractals, bi, and Zhong Shu structures across multiple timeframes. Automating this with OHLCV data processing eliminates human error and instantly generates structured buy/sell signals.

Can I use pandas DataFrames for Chanlun pattern detection?

Yes, you can use pandas DataFrames for Chanlun pattern detection. The processing relies on the pandas and czsc Python libraries to read OHLCV time series data, identify structural patterns, and output long, short, or neutral trading signals.