OPEN-SOURCE SCRIPT

Volume by Time [LuxAlgo]

5 198
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

syot kilat

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.

syot kilat

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.


syot kilat

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.

syot kilat

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

syot kilat

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.

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.