PROTECTED SOURCE SCRIPT

Haye VWAP

1 310
This is VWAP but instead of average price resetting daily, you choose the VWAP reset period.
You could choose an Hourly VWAP, or a 2D VWAP, the choice is yours.

To show the functionality compared to normal VWAP, the below shows Haye VWAP (White) and normal VWAP (red), both set to Daily timeframes and on a Daily Chart.
As you can see, they're identical.

快照

Then the following shows a 15min chart, with VWAP set to 15min timeframe and Haye VWAP set to Daily.
Again, notice they're identical because even when you change the timeframe of the regular VWAP, it still "resets" the average price calculation Daily.

快照

Finally you can see what happens when we change the Haye VWAP period, the average price calculation resets based on the period you choose.
In this case Haye VWAP and regular VWAP are both set to 240 (4Hour) on a 5min chart.
The regular VWAP is displaying the 4Hour data of the VWAP (which resets Daily).
The Haye VWAP (in White) is displaying the Volume Weighted Average Price of the 5min bars, resetting every 4Hours.

快照

This allows us to use the principles of VWAP but apply it to shorter (or longer) timeframes. For example, you could have a VWAP that resets hourly, or a longer VWAP that resets every 2Days.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。