OPEN-SOURCE SCRIPT

Volume by Time [LuxAlgo]

5 428
The Volume by Time indicator collects volume data for every point in time over the day and displays the average volume of the specific dataset collected at each respective bar.

The indicator overlays the current volume and the historical average to allow for better comparisons.

🔶 USAGE

ảnh chụp nhanh

Throughout the day, the volume of every bar is stored in groups organized by the time when each bar occurred.

Over time, the datasets accumulate, and from that, we can simply determine the average value at each specific time of the day.

ảnh chụp nhanh

The display is a histogram style, which consists of hollow bars and solid filled columns.

-Hollow bars represent the average volume at that time of the day.
-Solid columns display the current volume from the current bar.


ảnh chụp nhanh

By default, the entire history of data is used, but if desired, the number of days under analysis can be specified to provide a more relevant point of view.

A readout of the number of days being analyzed can be seen in the status bar at any time.

Note: Due to partial sessions, it is typical to see this value change throughout the day; this is simply due to the fact that not every trading session has the exact same schedule 100% of the time.

ảnh chụp nhanh

The analysis type can also be specified; these can be either Average (Default) or Median.

ảnh chụp nhanh

Additionally, a Bi-directional can be toggled for a distinct difference between upwards volume and downwards volume.

🔶 SETTINGS

  • Analysis Type: Choose between Average or Median analysis modes.
  • Length (Days): Set the number of days to use for analysis. Set to 0 for full data (Default 0).
  • Bi-Directional Toggle: Toggle between one-sided or two-sided display.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.