OPEN-SOURCE SCRIPT

Volume by Time [LuxAlgo]

6 011
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

imagen

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.

imagen

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.


imagen

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.

imagen

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

imagen

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.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.