OPEN-SOURCE SCRIPT
VWMA ATR Adaptive Channel

VWMA ATR Adaptive Channel / VWMA ATR 自适应通道
This indicator builds dynamic upper and lower bands using VWMA and ATR. It is designed to help traders observe price range, dynamic support/resistance areas, trend extension zones, and changing volatility conditions.
该指标基于 VWMA(成交量加权移动平均)与 ATR(平均真实波幅)构建动态上下轨,用于辅助观察价格运行区间、动态支撑压力、趋势延展区域以及市场波动状态。
Core Logic / 核心逻辑
- Uses VWMA as the volume-weighted price reference.
- 使用 VWMA 作为成交量加权后的价格中枢参考。
- Uses ATR to calculate the distance between the upper and lower bands.
- 使用 ATR 计算上下轨与中枢之间的距离。
- Supports fixed-timeframe calculation, allowing higher-timeframe bands to be displayed on the current chart.
- 支持固定周期计算,可在当前图表上显示指定高周期的通道。
- Includes a volatility-adaptive mechanism that adjusts band width based on ATR/Close.
- 内置波动率自适应机制,可根据 ATR/Close 自动调整通道宽度。
Main Inputs / 主要参数
- Band Timeframe: The timeframe used for band calculation.
- Band Timeframe:用于计算通道的固定周期。
- VWMA Length: The length of the VWMA calculation.
- VWMA Length:VWMA 计算长度。
- ATR Period: The period used for ATR calculation.
- ATR Period:ATR 计算周期。
- ATR Multiplier: The base ATR multiplier used to define band distance.
- ATR Multiplier:用于计算通道距离的 ATR 基础倍数。
- Use Volatility-Adaptive Band: Enables or disables the volatility-adaptive mechanism.
- Use Volatility-Adaptive Band:是否启用波动率自适应机制。
- Vol Reference ATR/Close: The reference volatility level used for adaptive adjustment.
- Vol Reference ATR/Close:用于自适应调整的参考波动率水平。
- Vol Clamp Low / High: The lower and upper limits for the adaptive volatility multiplier.
- Vol Clamp Low / High:自适应波动率倍数的下限与上限。
How to Use / 使用方式
- The upper band may be used as a dynamic resistance or price extension reference.
- 上轨可作为动态压力区域或价格延展区域参考。
- The lower band may be used as a dynamic support or pullback reference.
- 下轨可作为动态支撑区域或价格回撤区域参考。
- A widening channel usually indicates increasing volatility.
- 通道变宽通常表示市场波动率上升。
- A narrowing channel usually indicates decreasing volatility.
- 通道变窄通常表示市场波动率下降。
- The indicator can be used together with trend structure, volume, candlestick patterns, or other trading systems.
- 该指标可结合趋势结构、成交量、K线形态或其他交易系统一起使用。
For technical analysis only. Not financial advice.
本指标仅用于技术分析辅助,不构成任何投资建议。
This indicator builds dynamic upper and lower bands using VWMA and ATR. It is designed to help traders observe price range, dynamic support/resistance areas, trend extension zones, and changing volatility conditions.
该指标基于 VWMA(成交量加权移动平均)与 ATR(平均真实波幅)构建动态上下轨,用于辅助观察价格运行区间、动态支撑压力、趋势延展区域以及市场波动状态。
Core Logic / 核心逻辑
- Uses VWMA as the volume-weighted price reference.
- 使用 VWMA 作为成交量加权后的价格中枢参考。
- Uses ATR to calculate the distance between the upper and lower bands.
- 使用 ATR 计算上下轨与中枢之间的距离。
- Supports fixed-timeframe calculation, allowing higher-timeframe bands to be displayed on the current chart.
- 支持固定周期计算,可在当前图表上显示指定高周期的通道。
- Includes a volatility-adaptive mechanism that adjusts band width based on ATR/Close.
- 内置波动率自适应机制,可根据 ATR/Close 自动调整通道宽度。
Main Inputs / 主要参数
- Band Timeframe: The timeframe used for band calculation.
- Band Timeframe:用于计算通道的固定周期。
- VWMA Length: The length of the VWMA calculation.
- VWMA Length:VWMA 计算长度。
- ATR Period: The period used for ATR calculation.
- ATR Period:ATR 计算周期。
- ATR Multiplier: The base ATR multiplier used to define band distance.
- ATR Multiplier:用于计算通道距离的 ATR 基础倍数。
- Use Volatility-Adaptive Band: Enables or disables the volatility-adaptive mechanism.
- Use Volatility-Adaptive Band:是否启用波动率自适应机制。
- Vol Reference ATR/Close: The reference volatility level used for adaptive adjustment.
- Vol Reference ATR/Close:用于自适应调整的参考波动率水平。
- Vol Clamp Low / High: The lower and upper limits for the adaptive volatility multiplier.
- Vol Clamp Low / High:自适应波动率倍数的下限与上限。
How to Use / 使用方式
- The upper band may be used as a dynamic resistance or price extension reference.
- 上轨可作为动态压力区域或价格延展区域参考。
- The lower band may be used as a dynamic support or pullback reference.
- 下轨可作为动态支撑区域或价格回撤区域参考。
- A widening channel usually indicates increasing volatility.
- 通道变宽通常表示市场波动率上升。
- A narrowing channel usually indicates decreasing volatility.
- 通道变窄通常表示市场波动率下降。
- The indicator can be used together with trend structure, volume, candlestick patterns, or other trading systems.
- 该指标可结合趋势结构、成交量、K线形态或其他交易系统一起使用。
For technical analysis only. Not financial advice.
本指标仅用于技术分析辅助,不构成任何投资建议。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。