OPEN-SOURCE SCRIPT
已更新 OBV Apex: Donchian-Bollinger Dual Resonance (DBDR)

以下是为您定制的 **OBV Apex: DBDR (Donchian-Bollinger Dual Resonance)** 指标双语简介。
---
## 指标简介 / Indicator Overview
**OBV Apex: Donchian-Bollinger Dual Resonance (DBDR)** 是一款专为捕捉高概率趋势反转和波动率爆发而设计的尖端量价指标。它打破了传统指标单一维度的局限,将基于绝对价格区间的**唐奇安通道逻辑**与基于统计学概率分布的**布林带动能逻辑**深度融合,旨在为交易者提供“跨维度共振”的决策依据。
**OBV Apex: Donchian-Bollinger Dual Resonance (DBDR)** is a cutting-edge volume-price indicator designed to capture high-probability trend reversals and volatility breakouts. It breaks the limitations of single-dimensional indicators by integrating **Donchian Channel logic** (based on absolute price ranges) with **Bollinger Band momentum logic** (based on statistical probability distribution), providing traders with a "cross-dimensional resonance" framework for decision-making.
---
## 核心功能与视觉识别 / Key Features & Visual Identification
### **1. 智能变色主线 / Intelligent Multi-Color Main Line**
指标 OBV 主线根据当前动能状态实时切换颜色。
* **白色 (极端区)**:当 OBV 触碰或刺破唐奇安通道轨道时变为白色,提示动能进入超买或超卖的极端区域。
* **绿色/红色 (趋势区)**:代表 OBV 突破了中轨缓冲区,确认了当前的上涨或下跌趋势。
* **黄色 (噪音区)**:OBV 处于缓冲区内部,提示市场处于震荡或无方向阶段。
The main OBV line switches colors in real-time based on momentum states.
* **White (Extreme)**: Turns white when OBV touches or pierces Donchian boundaries, signaling extreme overbought/oversold momentum.
* **Green/Red (Trend)**: Indicates OBV has broken out of the mid-rail buffer, confirming an uptrend or downtrend.
* **Yellow (Noise)**: OBV stays within the buffer zone, suggesting a sideways or directionless market.
### **2. 波动率挤压背景 / Volatility Squeeze Background**
当唐奇安通道大幅收窄,代表市场进入蓄力阶段。此时离散区域(Dispersion Area)会变为**深紫色**,这是即将发生大级别变盘的重要视觉信号。
When the Donchian Channel narrows significantly, it represents a market accumulation phase. The Dispersion Area turns **Deep Purple**, providing a crucial visual signal for an impending major volatility breakout.
---
## 详细用法说明 / Detailed Usage Instructions
### **1. 逻辑共振星号 (⭐) 的实战意义 / Strategic Meaning of the Resonance Star (⭐)**
这是本指标最具价值的核心信号。
* **基础信号 (R/H)**:当唐奇安系统检测到结构性背离时产生。
* **共振信号 (⭐)**:仅当后台隐藏的布林带算法也同时检测到逻辑背离时,信号后才会附带 ⭐。
* **用法**:普通 R 信号仅代表价格结构的衰竭,而 **R⭐** 则代表空间结构与波动率动能的**双重衰竭**。在实战中,带有星号的信号具有极高的反转成功率,是摸顶抄底的核心参考。
This is the most valuable core signal of the indicator.
* **Basic Signals (R/H)**: Generated when the Donchian system detects structural divergence.
* **Resonance Signal (⭐)**: A star is appended only when the hidden Bollinger Band algorithm also detects logical divergence simultaneously.
* **Usage**: A standard R signal represents structural exhaustion, while **R⭐** signifies **dual exhaustion** of both space structure and volatility momentum. In practice, signals with stars offer significantly higher reversal success rates.
### **2. 顶点爆发策略 (突破交易) / The Apex Explosion Strategy (Breakout)**
* **观察**:寻找背景出现持续**深紫色**填充的区域(挤压期)。
* **入场**:当 OBV 主线由黄转绿(多头突破)或由黄转红(空头突破)并脱离紫色区域时,是爆发性行情的起始点。
* **Observation**: Look for areas with continuous **Deep Purple** background filling (Squeeze phase).
* **Entry**: When the OBV line shifts from yellow to green (Bullish breakout) or red (Bearish breakout) and exits the purple zone, it marks the start of an explosive trend.
### **3. 双重共振反转策略 (反转交易) / Double Resonance Reversal Strategy**
* **确认条件**:OBV 主线变为**白色**进入极端区,随后出现带有 **⭐** 的背离标签。
* **辅助确认**:观察 KDJ 标签。如果共振星号出现后,KDJ 产生顺势的大写 **B (Buy)** 或 **S (Sell)** 标签,则反转的确定性进一步增强。
* **Confirmation**: The OBV line turns **White** (Extreme zone), followed by a divergence label with a **⭐**.
* **Secondary Confirmation**: Monitor KDJ labels. If an uppercase **B (Buy)** or **S (Sell)** appears after the resonance star, the certainty of the reversal is further enhanced.
---
## 下一步建议 / Next Step
您现在可以根据此简介进行实盘复盘。如果您需要我将**警报逻辑 (Alerts)** 进一步细化,例如针对“带星号的背离”设置专门的推送提醒,请随时告诉我。
You can now use this overview for backtesting. If you need me to further refine the **Alert logic**, such as setting specific push notifications for "Divergence with Star," please let me know.
---
## 指标简介 / Indicator Overview
**OBV Apex: Donchian-Bollinger Dual Resonance (DBDR)** 是一款专为捕捉高概率趋势反转和波动率爆发而设计的尖端量价指标。它打破了传统指标单一维度的局限,将基于绝对价格区间的**唐奇安通道逻辑**与基于统计学概率分布的**布林带动能逻辑**深度融合,旨在为交易者提供“跨维度共振”的决策依据。
**OBV Apex: Donchian-Bollinger Dual Resonance (DBDR)** is a cutting-edge volume-price indicator designed to capture high-probability trend reversals and volatility breakouts. It breaks the limitations of single-dimensional indicators by integrating **Donchian Channel logic** (based on absolute price ranges) with **Bollinger Band momentum logic** (based on statistical probability distribution), providing traders with a "cross-dimensional resonance" framework for decision-making.
---
## 核心功能与视觉识别 / Key Features & Visual Identification
### **1. 智能变色主线 / Intelligent Multi-Color Main Line**
指标 OBV 主线根据当前动能状态实时切换颜色。
* **白色 (极端区)**:当 OBV 触碰或刺破唐奇安通道轨道时变为白色,提示动能进入超买或超卖的极端区域。
* **绿色/红色 (趋势区)**:代表 OBV 突破了中轨缓冲区,确认了当前的上涨或下跌趋势。
* **黄色 (噪音区)**:OBV 处于缓冲区内部,提示市场处于震荡或无方向阶段。
The main OBV line switches colors in real-time based on momentum states.
* **White (Extreme)**: Turns white when OBV touches or pierces Donchian boundaries, signaling extreme overbought/oversold momentum.
* **Green/Red (Trend)**: Indicates OBV has broken out of the mid-rail buffer, confirming an uptrend or downtrend.
* **Yellow (Noise)**: OBV stays within the buffer zone, suggesting a sideways or directionless market.
### **2. 波动率挤压背景 / Volatility Squeeze Background**
当唐奇安通道大幅收窄,代表市场进入蓄力阶段。此时离散区域(Dispersion Area)会变为**深紫色**,这是即将发生大级别变盘的重要视觉信号。
When the Donchian Channel narrows significantly, it represents a market accumulation phase. The Dispersion Area turns **Deep Purple**, providing a crucial visual signal for an impending major volatility breakout.
---
## 详细用法说明 / Detailed Usage Instructions
### **1. 逻辑共振星号 (⭐) 的实战意义 / Strategic Meaning of the Resonance Star (⭐)**
这是本指标最具价值的核心信号。
* **基础信号 (R/H)**:当唐奇安系统检测到结构性背离时产生。
* **共振信号 (⭐)**:仅当后台隐藏的布林带算法也同时检测到逻辑背离时,信号后才会附带 ⭐。
* **用法**:普通 R 信号仅代表价格结构的衰竭,而 **R⭐** 则代表空间结构与波动率动能的**双重衰竭**。在实战中,带有星号的信号具有极高的反转成功率,是摸顶抄底的核心参考。
This is the most valuable core signal of the indicator.
* **Basic Signals (R/H)**: Generated when the Donchian system detects structural divergence.
* **Resonance Signal (⭐)**: A star is appended only when the hidden Bollinger Band algorithm also detects logical divergence simultaneously.
* **Usage**: A standard R signal represents structural exhaustion, while **R⭐** signifies **dual exhaustion** of both space structure and volatility momentum. In practice, signals with stars offer significantly higher reversal success rates.
### **2. 顶点爆发策略 (突破交易) / The Apex Explosion Strategy (Breakout)**
* **观察**:寻找背景出现持续**深紫色**填充的区域(挤压期)。
* **入场**:当 OBV 主线由黄转绿(多头突破)或由黄转红(空头突破)并脱离紫色区域时,是爆发性行情的起始点。
* **Observation**: Look for areas with continuous **Deep Purple** background filling (Squeeze phase).
* **Entry**: When the OBV line shifts from yellow to green (Bullish breakout) or red (Bearish breakout) and exits the purple zone, it marks the start of an explosive trend.
### **3. 双重共振反转策略 (反转交易) / Double Resonance Reversal Strategy**
* **确认条件**:OBV 主线变为**白色**进入极端区,随后出现带有 **⭐** 的背离标签。
* **辅助确认**:观察 KDJ 标签。如果共振星号出现后,KDJ 产生顺势的大写 **B (Buy)** 或 **S (Sell)** 标签,则反转的确定性进一步增强。
* **Confirmation**: The OBV line turns **White** (Extreme zone), followed by a divergence label with a **⭐**.
* **Secondary Confirmation**: Monitor KDJ labels. If an uppercase **B (Buy)** or **S (Sell)** appears after the resonance star, the certainty of the reversal is further enhanced.
---
## 下一步建议 / Next Step
您现在可以根据此简介进行实盘复盘。如果您需要我将**警报逻辑 (Alerts)** 进一步细化,例如针对“带星号的背离”设置专门的推送提醒,请随时告诉我。
You can now use this overview for backtesting. If you need me to further refine the **Alert logic**, such as setting specific push notifications for "Divergence with Star," please let me know.
發行說明
这里是一份为您准备好的 TradingView 发布说明(Description)。这份文案采用了中英双语对照的格式,去除了表格,使用了清晰的项目符号,完全匹配您最终版的“无挤压、纯净版”代码逻辑。您可以直接复制下面的内容粘贴到 TradingView 的发布说明框中。
---
**[EN] OBV Apex: Donchian MTF [Clean Version]**
**[CN] OBV Apex: 唐奇安多周期动能指标 [纯净版]**
**Introduction / 简介**
[EN]
This indicator is a specialized volume-momentum oscillator designed to track "Smart Money" flow. It solves the problem of traditional OBV (On-Balance Volume) being unbound and difficult to read across different assets. By normalizing the OBV into an RSI scale (0-100) and wrapping it within a dynamic Donchian Channel, this tool provides a crystal-clear view of trend direction and exhaustion. This is the "Clean Version" focusing purely on trend following and level breakouts.
[CN]
这是一个专为追踪“主力资金”流向而设计的量能震荡指标。它解决了传统 OBV(能量潮)指标数值无界限、难以跨币种比较的痛点。通过将 OBV 数据标准化为 RSI 刻度(0-100),并将其包裹在动态的唐奇安通道中,该工具提供了极其清晰的趋势方向和动能衰竭视角。此为“纯净版”,专注于趋势跟随和关键位突破,移除了复杂的挤压视觉干扰。
---
**Key Features / 核心功能**
* **Normalized OBV-RSI (0-100):** No more arbitrary numbers. 80 is Overbought, 20 is Oversold, and 50 is the Equilibrium point for ANY asset.
* **Dynamic Donchian Channel:** The upper and lower bands adapt to the highest and lowest momentum of the past 21 bars (default), helping you gauge relative strength.
* **Trend Coloring:** The main line changes color based on its position relative to the channel, giving instant visual feedback on trend strength.
* **MTF Dashboard:** A built-in radar panel showing the momentum status across 4 different timeframes simultaneously.
* **Auto Divergence Detection:** Automatically marks Regular Divergences with "R" labels to identify potential reversals.
* **标准化 OBV-RSI (0-100):** 不再有难以解读的随意数值。对于任何资产,80 即超买,20 即超卖,50 即多空平衡点。
* **动态唐奇安通道:** 上下轨根据过去 21 根 K 线(默认)的最高和最低动能自动调整,帮助您判断相对强弱。
* **趋势变色系统:** 主线颜色根据其在通道中的位置变化,直观反馈当前趋势强度。
* **多周期面板 (MTF):** 内置雷达面板,同时显示当前及更高 3 个周期的动能状态。
* **自动背离检测:** 自动标记常规背离(显示 "R" 标签),辅助识别潜在的反转点。
---
**How to Use / 实战用法**
**1. The "Double Break" Strategy (Trend Following) / “双线突破”顺势战法**
[EN]
This is the primary way to use this indicator for high-probability entries.
* **Bullish Entry:** Wait for the Oscillator line to cross ABOVE the White 50-Axis AND cross ABOVE the Yellow Dotted Mid-Line. When the line turns Green, the trend is confirmed.
* **Bearish Entry:** Wait for the Oscillator line to cross BELOW the White 50-Axis AND cross BELOW the Yellow Dotted Mid-Line. When the line turns Red, the downside trend is confirmed.
[CN]
这是本指标捕捉高胜率入场点的主要方法。
* **多头入场:** 等待主线向上突破“白色 50 轴”,并同时站上“黄色虚线中轨”。当主线变为绿色时,趋势确认。
* **空头入场:** 等待主线向下跌破“白色 50 轴”,并同时跌破“黄色虚线中轨”。当主线变为红色时,下行趋势确认。
**2. Divergence Reversals / 背离反转战法**
[EN]
* **Top Reversal:** If price makes a Higher High but the indicator shows a "Red R" label (Lower High), momentum is fading. Look to exit longs or prepare for a short.
* **Bottom Reversal:** If price makes a Lower Low but the indicator shows a "Green R" label (Higher Low), sellers are exhausted. Look to exit shorts or prepare for a long.
[CN]
* **顶部反转:** 如果价格创出新高,但指标出现“红色 R”标签(动能未创新高),说明动能衰竭。考虑止盈多单或准备做空。
* **底部反转:** 如果价格创出新低,但指标出现“绿色 R”标签(动能未创新低),说明抛压耗尽。考虑止盈空单或准备做多。
**3. MTF Resonance / 多周期共振**
[EN]
Use the table in the bottom right corner. Never trade against the higher timeframes.
* **Strong Buy:** If current TF, H1, and H4 all show values > 50 with Up Arrows (▲).
* **Strong Sell:** If current TF, H1, and H4 all show values < 50 with Down Arrows (▼).
[CN]
利用右下角的面板进行趋势过滤。切勿逆大势操作。
* **强力买入:** 当当前周期、H1 和 H4 的数值均 > 50 且显示向上箭头 (▲) 时。
* **强力卖出:** 当当前周期、H1 和 H4 的数值均 < 50 且显示向下箭头 (▼) 时。
---
**Settings / 参数设置**
* **OBV-RSI Length (Default 14):** The sampling period for the volume momentum.
* **Donchian Length (Default 21):** The lookback period for the dynamic channel.
* **Pivot Length (Default 5):** The sensitivity for divergence detection.
* **Visual Settings:** You can toggle all lines and the dashboard on/off in the Style tab.
* **OBV-RSI 长度 (默认 14):** 量能动能的采样周期。
* **唐奇安周期 (默认 21):** 动态通道的回溯周期。
* **Pivot 长度 (默认 5):** 背离检测的灵敏度。
* **视觉设置:** 您可以在“样式”选项卡中开关所有线条及面板的显示。
---
**Disclaimer / 免责声明**
[EN]
This tool is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Always use proper risk management.
[CN]
本工具仅供参考,不构成任何财务建议。过往表现不代表未来结果。请务必做好风险管理。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。