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.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?