OPEN-SOURCE SCRIPT

Rumpy's Multi Interval Extended VWAPs

Experiment with various intervals of VWAPs and extending them 1 & 2 extra intervals. Uses base intervals from the standard 1 day to half yearly intervals (day/month/quarterly/half yearly).

VWAPs are calculated by the sum of typical price x volume divided by sum volume over the interval. With the 1 D (standard vwap ) the sums reset to zero at the end of the day.

The extensions instead of resetting to zero continues the calculation. Extending the interval an additional interval length.

Technically this means in the case of the standard VWAP that the 1st extension is actually the 2nd day of a 2 Day interval VWAP and the 2nd extension is the 3rd day of a 3 Day interval VWAP .

Same goes for the other intervals eg.
1 Month VWAP =>
1st extension : 2nd Month of a 2 Month interval VWAP
2nd extension : 3rd Month of a 3 Month interval VWAP

2nd extensions are disabled by default as there is usually often overlap, however there can be notable exceptions (such as the current 2nd Monthly extension on BTCUSD )

--------------------------------------

If you find it useful please consider a tip/donation :

BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA


--------------------------------------
Moving Averages

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan