LuxAlgo

Volume Forecasting [LuxAlgo]

The Volume Forecasting indicator provides a forecast of volume by capturing and extrapolating periodic fluctuations. Historical forecasts are also provided to compare the method against volume at time t.

This script will not work on tickers that do not have volume data.

🔶 SETTINGS

  • Median Memory: Number of days used to compute the median and first/third quartiles.
  • Forecast Window: Number of bars forecasted in the future.
  • Auto Forecast Window: Set the forecast window so that the forecast length completes an interval.

🔶 USAGE


The periodic nature of volume on certain securities allows users to more easily forecast using historical volume. The forecast can highlight intervals where volume tends to be more important, that is where most trading activity takes place.


More pronounced periodicity will tend to return more accurate forecasts.


The historical forecast can also highlight intervals where high/low volume is not expected.

The interquartile range is also highlighted, giving an area where we can expect the volume to lie.

🔶 DETAILS

This forecasting method is similar to the time series decomposition method used to obtain the seasonal component.


We first segment the chart over equidistant intervals. Each interval is delimited by a change in the daily timeframe.


To forecast volume at time t+1 we see where the current bar lies in the interval, if the bar is the 78th in interval then the forecast on the next bar is made by taking the median of the 79th bar over N intervals, where N is the median memory.

This method ensures capturing the periodic fluctuation of volume.

Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?