OPEN-SOURCE SCRIPT

VWAP Oscillator (Normalised)

Cập nhật
Thanks:
Thanks to upslidedown for his VWAP Oscillator that served as the inspiration for this normalised version.


Core Aspects:

  • The script calculates the VWAP by considering both volume and price data, offering a comprehensive view of market activity.
  • Uses an adaptive normalization function to balance the data, ensuring that the VWAP reflects current market conditions accurately.
  • The oscillator includes customizable settings such as VWAP source, lookback period, and buffer percentage.
  • Provides a clear visual representation of market trends.


Usage Summary:

  • Detect divergences between price and oscillator for potential trend reversals.
  • Assess market momentum with oscillator’s position relative to the zero line.
  • Identify overbought and oversold conditions to anticipate market corrections.
  • Use volume-confirmed signals for enhanced reliability in trend strength assessments.
Phát hành các Ghi chú
Corrected thanks in the comments.
Made indicator and time frame visible in the chart preview for compliance with pinecoders agreement.
Phát hành các Ghi chú
Added an additional Up-Down Volume Profile overlay. Thanks to the trading view team for their Up/Down Volume Indicator.

Added an alternative normalisation method for the VWAP Oscillator designed to be more responsive to local trends:
  • MA-StdDev for short-term price movements and volatility
  • Adaptive for analysing longer-term trends
Phát hành các Ghi chú
This updated adds improves the calculations of the current normalisation method and adds additional normalization methods, making visualizing VWAP deviations even easier.

Methods:
  • Deviation: Calculates the difference between price and VWAP, then normalizes it based on its standard deviation from the mean. Use this to identify statistically significant deviations from VWAP, which may indicate potential reversal points or trend continuations.
  • DNA: Applies a non-linear transformation to the normalized VWAP difference, with an exponent that adjusts based on market volatility. This method is useful for analyzing price action across different volatility regimes, providing consistent sensitivity in both calm and turbulent markets.
  • Percentile: Ranks the current VWAP difference within its recent historical distribution, then applies a non-linear transformation. This helps in understanding whether the current deviation is extreme relative to recent price action. Use it to identify rare market conditions that may precede significant moves.
  • RSI: Applies the Relative Strength Index calculation to the VWAP difference, then normalizes the result. This combines momentum analysis with VWAP divergence. It's particularly useful for identifying potential overbought or oversold conditions relative to the VWAP, which may precede short-term price reversals.
  • Hybrid: Calculates all other normalization methods and averages them when they agree in direction, returning zero otherwise. This method provides signals only when there's a strong consensus across different analytical approaches. Use it to identify high-conviction trading setups or to confirm signals from other technical indicators.
DM IndicatorVolume Weighted Average Price (VWAP)

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm