Home / weaxs / stock-analysis-plugin · skills/chan-theory/SKILL.md · GitHub

chan-theory skillA

chan-theory is agent-read markdown (skill) from weaxs/stock-analysis-plugin: 缠论分析:按笔、段、中枢和背驰识别缠论买卖点。仅在用户明确要求缠论口径时使用。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 缠论分析

## 核心理念

缠论是一套完备的技术分析理论,通过对走势的几何结构分析(笔→段→中枢→趋势),实现精确的买卖点定位。

## 执行流程

### 1. 采集数据

运行数据采集脚本获取 120 根日K线及技术指标:

```bash
python3 scripts/gather.py <symbol>
```

### 2. 基本结构识别

**笔(Bi)**:
- 相邻的顶底分型之间,至少包含 5 根K线
- 顶分型:中间K线最高价最高
- 底分型:中间K线最低价最低
- 分析近期的上升笔和下降笔

**段(Duan)**:
- 至少 3 笔构成
- 同方向笔的延续
- 段的方向决定了中级别趋势

**中枢(ZhongShu)**:
- 至少 3 段重叠区域
- 中枢 = [max(底), min(顶)] 的重叠部分
- 中枢代表多空平衡区域

### 3. 买卖点判断

**第一类买点**:趋势背驰(下跌趋势中,最后一段相对前一段出现背驰)
- MACD 绿柱面积递减
- 创新低但力度减弱

**第二类买点**:中枢后第一次回抽不进中枢
- 强于第一类买点
- 确认中枢的突破有效

**第三类买点**:离开中枢后回抽不进中枢
- 趋势延续信号
- 最安全的买点

**卖点**:与买点对称反向

### 4. 背驰判断

- **趋势背驰**:用 MACD 面积比较
- **盘整背驰**:中枢震荡中的背驰
- 背驰 ≠ 一定转折,但转折必须背驰

## 输出要求

1. 当前走势的缠论结构(笔、段、中枢)
2. 中枢的位置和区间
3. 是否出现背驰信号
4. 最近的买卖点类型和位置
5. 后续走势的缠论推演(可能的几种路径)

Read the whole file at its exact version.

How to install

Latest version
mdr add weaxs/stock-analysis-plugin/chan-theory@git:20260916.70e8228
Exact content
mdr add weaxs/stock-analysis-plugin/chan-theory@sha256:f7b2eb2b0e467438

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_scefy3gwenc7lsn3.svg)](https://markdownregistry.com/a/art_scefy3gwenc7lsn3)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260916.70e8228 latest2026-09-16 70e8228 1,767 BA view · diff
git:20260916.a1ca9262026-09-16 a1ca926 1,992 BA view · diff
git:20260521.076544a2026-05-21 076544a 1,891 BA view · diff
git:20260514.9bdbe4d2026-05-14 9bdbe4d 1,778 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1767 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

weaxs/stock-analysis-plugin · 24 stars · license none · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_scefy3gwenc7lsn3
GET https://markdownregistry.com/api/v1/resolve?ref=weaxs/stock-analysis-plugin/chan-theory
GET https://markdownregistry.com/api/v1/blob/f7b2eb2b0e4674386e513ac987e16202e401aba4fbd8d9ee64e3c01a8215d0c4

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from weaxs/stock-analysis-plugin

AGENTS.md agents
weaxs/stock-analysis-plugin · AGENTS.md
git:20260922.a679af1 · audit A · 24 stars
CLAUDE.md claude
weaxs/stock-analysis-plugin · CLAUDE.md
git:20260807.a302e05 · audit B · 24 stars
bottom-volume skill
weaxs/stock-analysis-plugin · skills/bottom-volume/SKILL.md · 底部放量分析:判断长期下跌后的异常放量是否构成反转信号。用于低位放量;普通阻力突破用 volume-breakout。
git:20260916.70e8228 · audit A · 24 stars
box-oscillation skill
weaxs/stock-analysis-plugin · skills/box-oscillation/SKILL.md · 箱体震荡分析:识别横盘区间、支撑压力和突破失效条件。用于区间波段或高抛低吸问题。
git:20260916.70e8228 · audit A · 24 stars
bull-trend skill
weaxs/stock-analysis-plugin · skills/bull-trend/SKILL.md · 趋势追踪分析:识别中长期趋势、所处阶段和离场条件。用于多头排列、上升通道或持有趋势股。
git:20260916.70e8228 · audit A · 24 stars
dragon-head skill
weaxs/stock-analysis-plugin · skills/dragon-head/SKILL.md · 龙头股分析:在已知板块中比较启动顺序、涨幅、回调和持续性。题材热度与参与节奏用 hot-theme。
git:20260919.9a70e54 · audit A · 24 stars
emotion-cycle skill
weaxs/stock-analysis-plugin · skills/emotion-cycle/SKILL.md · 市场情绪周期:用市场宽度、涨跌停、成交额和热度判断冰点、回暖、高潮或退潮。完整大盘复盘用 market-review。
git:20260919.9a70e54 · audit A · 24 stars
event-driven skill
weaxs/stock-analysis-plugin · skills/event-driven/SKILL.md · 事件驱动分析:评估公告、业绩、政策、订单或资本运作对个股的影响路径、定价程度和失效条件。
git:20260916.70e8228 · audit A · 24 stars
expectation-repricing skill
weaxs/stock-analysis-plugin · skills/expectation-repricing/SKILL.md · 预期重估分析:比较市场预期与可验证事实,判断正负预期差、定价程度和重估失效条件。
git:20260916.70e8228 · audit A · 24 stars
growth-quality skill
weaxs/stock-analysis-plugin · skills/growth-quality/SKILL.md · 成长质量分析:用多期收入、利润、现金流和盈利能力评估增长的真实性与可持续性。泛风险排查用 stock-analysis。
git:20260916.70e8228 · audit A · 24 stars
hot-theme skill
weaxs/stock-analysis-plugin · skills/hot-theme/SKILL.md · 热点题材分析:评估板块强度、扩散度、个股关联度和参与节奏。已知板块内的龙头比较用 dragon-head。
git:20260922.a679af1 · audit A · 24 stars
ma-crossover skill
weaxs/stock-analysis-plugin · skills/ma-crossover/SKILL.md · 均线交叉分析:判断金叉、死叉、均线排列及信号质量。用于明确的均线策略问题。
git:20260916.70e8228 · audit A · 24 stars

Every file in weaxs/stock-analysis-plugin

Browse by kind, by grade A, or by owner.