OPEN-SOURCE SCRIPT

Rolling VWAP [QuantraSystems]

Mis à jour
Rolling VWAP


Introduction

The Rolling VWAP (R͜͡oll-VWAP) indicator modernizes the traditional VWAP by recalculating continuously on a rolling window, making it adept at pinpointing market trends and breakout points.
Its dual functionality includes both the dynamic rolling VWAP and a customizable anchored VWAP, enhanced by color-coded visual cues, thereby offering traders valuable flexibility and insight for their market analysis.


snapshot
Legend

In the Image you can see the BTCUSD 1D Chart with the R͜͡oll-VWAP overlay.

You can see the individually activatable Standard Deviation (SD) Bands and the main VWAP Line.
It also features a Trend Signal which is deactivated by default and can be enabled if required.
Furthermore you can find the coloring of the VWAP line to represent the Trend.
In this case the trend itself is defined as:
Close being greater than the VWAP line -> Uptrend
Close below the VWAP line -> Downtrend



Notes


The R͜͡oll-VWAP can be used in a variety of ways.
  1. Volatility adjusted expected range
    This aims to identify in which range the asset is likely to move - according to the historical values the SD Bands are calculated and thus their according probabilities displayed.

  2. Trend analysis
    Trending above or below the VWAP shows up or down trends accordingly.

  3. S/R Levels
    Based on the probability distribution the 2. SD often works as a Resistance level and either mid line or 1. SD lines can act as S/R levels

  4. Unsustainable levels
    Based on the probability distributions a SD level of beyond 2.5, especially 3 and higher is hit very seldom and highly unsustainable.
    This can either mean a mean reversion state or a momentum slowdown is necessary to get back to a sustainable level.



Please note that we always advise to find more confluence by additional indicators.
Traders are encouraged to test and determine the most suitable settings for their specific trading strategies and timeframes.


Methodology
The R͜͡oll-VWAP is based on the inbuilt TV VWAP.
It expands upon the limitations of having an anchored timeframe and thus a limited data set that is being reset constantly.
Instead we have integrated a rolling nature that continuously calculates the VWAP over a customizable lookback.
To also keep the base utility it is possible to use the anchored timeframes as well.

Furthermore the visualization has been improved and we added the coloring of the main VWAP line according to the Trend as stated above.
The applicable Trend signals are also part of that.

The parameter settings and also the visualizations allow for ample customizations by the trader.


For questions or recommendations, please feel free to seek contact in the comments.
Notes de version
Added custom alerts!
Alerts are based upon the same logic as the trend signals found in the user menu.
Notes de version
Added monochrome colors and the option for user-defined color themes.
Notes de version
Added the ability to remove the Deviation Band fill effect
Notes de version
Added 'Dynamic' capabilities.
Notes de version
Updated Dynamic Function Library.
Updated header name tag.
Notes de version
Updated License.
License formatting shout out to RUBIX_BINARY
cryptoinvestingprobabilitiesrollingvwapStandard DeviationstandarddeviationstradingtrendanalyisisTrend AnalysisvolumeadjustedVolume Weighted Average Price (VWAP)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


No statements or claims aim to be financial advice,
neither are any signals from us or our indicators.


Want to learn Trading, Investing or system building?
Join the Community! 👇

discord.gg/FMZDM3bZ9T
Aussi sur:

Clause de non-responsabilité