chan-theory
Skill95 starsChanged 3 days agoMITView on GitHub
缠论分析:按笔、段、中枢和背驰识别缠论买卖点。仅在用户明确要求缠论口径时使用。
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bottom-volumeSkill
- box-oscillationSkill
- bull-trendSkill
- dragon-headSkill
- emotion-cycleSkill
- event-drivenSkill
- expectation-repricingSkill
- growth-qualitySkill
- hot-themeSkill
- ma-crossoverSkill
- market-reviewSkill
- one-yang-three-yinSkill
- sector-rotationSkill
- shrink-pullbackSkill
- stock-analysisSkill
- stock-screenerSkill
- strategy-backtestSkill
- volume-breakoutSkill
- wave-theorySkill
- wisburg-researchSkill
The file
Files
缠论分析
核心理念
缠论是一套完备的技术分析理论,通过对走势的几何结构分析(笔→段→中枢→趋势),实现精确的买卖点定位。
执行流程
1. 采集数据
运行数据采集脚本获取 120 根日K线及技术指标:
python3 scripts/gather.py <symbol>2. 基本结构识别
笔(Bi):
- 相邻的顶底分型之间,至少包含 5 根K线
- 顶分型:中间K线最高价最高
- 底分型:中间K线最低价最低
- 分析近期的上升笔和下降笔
段(Duan):
- 至少 3 笔构成
- 同方向笔的延续
- 段的方向决定了中级别趋势
中枢(ZhongShu):
- 至少 3 段重叠区域
- 中枢 = [max(底), min(顶)] 的重叠部分
- 中枢代表多空平衡区域
3. 买卖点判断
第一类买点:趋势背驰(下跌趋势中,最后一段相对前一段出现背驰)
- MACD 绿柱面积递减
- 创新低但力度减弱
第二类买点:中枢后第一次回抽不进中枢
- 强于第一类买点
- 确认中枢的突破有效
第三类买点:离开中枢后回抽不进中枢
- 趋势延续信号
- 最安全的买点
卖点:与买点对称反向
4. 背驰判断
- 趋势背驰:用 MACD 面积比较
- 盘整背驰:中枢震荡中的背驰
- 背驰 ≠ 一定转折,但转折必须背驰
输出要求
- 当前走势的缠论结构(笔、段、中枢)
- 中枢的位置和区间
- 是否出现背驰信号
- 最近的买卖点类型和位置
- 后续走势的缠论推演(可能的几种路径)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

