Chan Theory

本指标基于 缠中说禅(Chan Theory)原始理论 开发,完整实现从 分型 → 笔 → 线段 → 中枢 → 背驰 → 买卖点 的自动化结构分析流程。
所有逻辑均以结构优先为核心,避免主观画线,适用于趋势、震荡及转折行情的系统性分析。
该指标不追求频繁信号,而是专注于关键结构完成后的确定性机会,适合中高级交易者进行多周期结构研判。
🔍 核心功能
自动识别顶 / 底分型(含包含关系处理)
自动画笔(支持老笔 / 严格笔模式)
自动生成线段结构
笔中枢 / 线段中枢自动识别
基于 MACD 力度与面积 的背驰判断
严格定义的缠论 1 / 2 / 3 类买卖点提示
🎯 设计原则
严格遵循缠论原始定义(无简化、无魔改)
所有信号基于已完成结构
无未来函数 / 无重绘
结构逻辑可回溯、可验证
⚠️ 使用说明
本指标为分析工具,不构成投资建议
建议结合多周期结构与个人交易计划使用
🇬🇧 English Description (TradingView Ready)
📖 Overview
This indicator is developed strictly based on the original Chan Theory (ChanLun) framework.
It provides a fully automated structural analysis workflow including:
Fractals → Pens → Segments → Centers → Divergence → Buy/Sell Points
The core philosophy is structure-first, focusing on confirmed market structures rather than subjective drawing or indicator-only signals.
This tool is designed for traders who value market structure, trend logic, and divergence-based turning points, suitable for stocks, futures, and crypto markets.
🔍 Key Features
Automatic top/bottom fractal detection (with inclusion handling)
Automated pen construction (classic & strict modes)
Segment (trend leg) identification
Automatic center (range) detection
Divergence detection based on MACD strength and area
Chan Theory–based Class 1 / 2 / 3 buy & sell point hints
🎯 Design Principles
Strict adherence to original Chan Theory definitions
Signals only appear after structure confirmation
No repainting / No future data usage
Clear and traceable structural logic
⚠️ Disclaimer
This indicator is for technical analysis and research purposes only and does not constitute financial advice.
Always combine it with proper risk management and multi-timeframe analysis.
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. יהיה עליך לשלוח בקשת גישה ולקבל אישור לשימוש. בדרך כלל, הגישה ניתנת לאחר תשלום. למידע נוסף, עקוב אחר ההוראות של היוצר בהמשך או צור קשר עם qq867794021 ישירות.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.
הוראות המחבר
כתב ויתור
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. יהיה עליך לשלוח בקשת גישה ולקבל אישור לשימוש. בדרך כלל, הגישה ניתנת לאחר תשלום. למידע נוסף, עקוב אחר ההוראות של היוצר בהמשך או צור קשר עם qq867794021 ישירות.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.