PROTECTED SOURCE SCRIPT

Haye VWAP

1 367
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. اقرأ المزيد في شروط الاستخدام.