rumpypumpydumpy

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


--------------------------------------
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?