PROTECTED SOURCE SCRIPT
Unentangle – Probability‑Based Trend Indicator using Chan Theory

Unentangle – Probability‑Based Trend Indicator using Chan Theory
**Overview:**
Unentangle is a custom TradingView indicator inspired by Chan Theory (Chanlun).
It automatically detects and visualizes market structures such as Bi (Trend Stroke), Xian (Line Segment), and Pivot.
By combining structural recognition with statistical analysis of historical patterns, the script provides traders with probability-based buy/sell signals.
This helps traders make more confident, data-driven decisions rather than relying solely on alerts.
Why "Unentangle"?
Market data often looks tangled and chaotic, making it hard to see clear structures and its trend.
This indicator is designed to "un-entangle" the data, revealing Chan Theory patterns and its trend probability so traders can view the market more clearly and make confident decisions.
**Key Features:**
- Automatic recognition of Chanlun structures Bi(Trend Stroke), Xian(Line Segment), Pivot
- Visual drawing of Chanlun elements directly on the chart
- Probability calculations for up and down trends based on historical Chanlun top and bottom patterns
**How It Works:**
The script analyzes price movements to identify Chanlun structures.
It then visually draws Chanlun elements, making it easier to follow Chan Theory without manual plotting.
Once structures are detected, it calculates the statistical probability of signals based on similar historical Chanlun top and bottom setups.
This allows traders to evaluate the confidence level of trades based on current price action.
**Usage:**
Apply the indicator to a clean chart.
The script will automatically display Chanlun structures and probability-based signals.
Traders can use these signals as part of their decision-making process, combining them with their own strategies and risk management rules.
On the chart, a green box indicates an uptrend and a red box indicates a downtrend.
The percentage inside the box shows how much of the current trend has progressed.
For example, “83%” in a green box means the uptrend has already advanced 83%, with only 17% potential space remaining for up trend.
**Notes:**
- This script is closed-source, but its logic is based on Chan Theory principles and statistical analysis of historical Chanlun top/bottom price patterns.
- It is intended for educational and analytical purposes, not as financial advice.
Unentangle – 基于缠论结构的趋势概率指标
**概述:**
Unentangle 是一个基于缠论的 TradingView 自定义指标。
它能够自动识别并可视化市场结构,包括笔、线段和中枢。
通过结合结构识别与历史数据的统计分析,该脚本可以生成基于概率的买卖信号,
帮助交易者在决策时更有依据,而不仅仅依赖提示。
为什么叫 “Unentangle”?
市场数据常常像一团乱麻,难以看清结构。
这个指标的目的就是“解缠”,让缠论的结构及其概率清晰呈现,
帮助交易者更直观地理解市场并做出更有依据的决策。
**功能亮点:**
- 自动识别缠论结构(笔、线段、中枢)
- 在图表上直观绘制缠论元素
- 基于历史顶底数据的趋势概率计算
- 提供信号可信度评估,辅助交易决策
**工作原理:**
脚本会分析价格走势以识别缠论结构。
识别完成后,它会自动绘制缠论元素,使得学习和应用缠论更加直观,无需手动绘制。
同时,脚本会基于历史顶底形态计算趋势的统计概率,
帮助交易者评估当前价格下的交易可信度。
**使用方法:**
将指标应用到干净的图表上。
脚本会自动显示缠论结构和基于概率的信号。
交易者可以将这些信号作为决策参考,并结合自己的策略与风险管理规则。
在图表中,绿色方框表示当前处于上升趋势,红色方框表示下降趋势。
方框中的百分比表示当前趋势的进展程度。
例如,绿色方框显示“83%”意味着当前上升趋势已经完成了 83%,仅剩 17% 的上涨空间。
**注意事项:**
- 本脚本为闭源,但逻辑基于缠论原理与历史数据的统计分析。
- 本脚本仅用于教育与分析目的,不构成任何投资建议。
**Overview:**
Unentangle is a custom TradingView indicator inspired by Chan Theory (Chanlun).
It automatically detects and visualizes market structures such as Bi (Trend Stroke), Xian (Line Segment), and Pivot.
By combining structural recognition with statistical analysis of historical patterns, the script provides traders with probability-based buy/sell signals.
This helps traders make more confident, data-driven decisions rather than relying solely on alerts.
Why "Unentangle"?
Market data often looks tangled and chaotic, making it hard to see clear structures and its trend.
This indicator is designed to "un-entangle" the data, revealing Chan Theory patterns and its trend probability so traders can view the market more clearly and make confident decisions.
**Key Features:**
- Automatic recognition of Chanlun structures Bi(Trend Stroke), Xian(Line Segment), Pivot
- Visual drawing of Chanlun elements directly on the chart
- Probability calculations for up and down trends based on historical Chanlun top and bottom patterns
**How It Works:**
The script analyzes price movements to identify Chanlun structures.
It then visually draws Chanlun elements, making it easier to follow Chan Theory without manual plotting.
Once structures are detected, it calculates the statistical probability of signals based on similar historical Chanlun top and bottom setups.
This allows traders to evaluate the confidence level of trades based on current price action.
**Usage:**
Apply the indicator to a clean chart.
The script will automatically display Chanlun structures and probability-based signals.
Traders can use these signals as part of their decision-making process, combining them with their own strategies and risk management rules.
On the chart, a green box indicates an uptrend and a red box indicates a downtrend.
The percentage inside the box shows how much of the current trend has progressed.
For example, “83%” in a green box means the uptrend has already advanced 83%, with only 17% potential space remaining for up trend.
**Notes:**
- This script is closed-source, but its logic is based on Chan Theory principles and statistical analysis of historical Chanlun top/bottom price patterns.
- It is intended for educational and analytical purposes, not as financial advice.
Unentangle – 基于缠论结构的趋势概率指标
**概述:**
Unentangle 是一个基于缠论的 TradingView 自定义指标。
它能够自动识别并可视化市场结构,包括笔、线段和中枢。
通过结合结构识别与历史数据的统计分析,该脚本可以生成基于概率的买卖信号,
帮助交易者在决策时更有依据,而不仅仅依赖提示。
为什么叫 “Unentangle”?
市场数据常常像一团乱麻,难以看清结构。
这个指标的目的就是“解缠”,让缠论的结构及其概率清晰呈现,
帮助交易者更直观地理解市场并做出更有依据的决策。
**功能亮点:**
- 自动识别缠论结构(笔、线段、中枢)
- 在图表上直观绘制缠论元素
- 基于历史顶底数据的趋势概率计算
- 提供信号可信度评估,辅助交易决策
**工作原理:**
脚本会分析价格走势以识别缠论结构。
识别完成后,它会自动绘制缠论元素,使得学习和应用缠论更加直观,无需手动绘制。
同时,脚本会基于历史顶底形态计算趋势的统计概率,
帮助交易者评估当前价格下的交易可信度。
**使用方法:**
将指标应用到干净的图表上。
脚本会自动显示缠论结构和基于概率的信号。
交易者可以将这些信号作为决策参考,并结合自己的策略与风险管理规则。
在图表中,绿色方框表示当前处于上升趋势,红色方框表示下降趋势。
方框中的百分比表示当前趋势的进展程度。
例如,绿色方框显示“83%”意味着当前上升趋势已经完成了 83%,仅剩 17% 的上涨空间。
**注意事项:**
- 本脚本为闭源,但逻辑基于缠论原理与历史数据的统计分析。
- 本脚本仅用于教育与分析目的,不构成任何投资建议。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。