Ambienz

Relative Volume at Time (RVolAT) Chart

Shared for friends, but others are welcome to use.

RVolAT chart, designed for US equity markets, displayed as chart of current bar volume relative to the average volume for that period over a specified number of days. This can be calculated in two ways - see Calculation Mode below.

The chart uses a heatmap to identify RVol, with anything greater than 3 as the highest level. The increments are in 0.5 units.

The chart includes a current indicator using the heatmap colours at the last bar. The label colour will change according to RVol.

Previously I generated a x day, 1440 period array as the basis of calculations, but now that TradingView has released a rvol technical analysis (ta.relativeVolume) I have adopted this. This results in faster processing times, and the results are in line with my previous model.

According to the TV documentation:

Anchor Point
Specifies the size of the period used in the Relative Volume calculation, as described in the Calculation section above. If the "Anchor Timeframe" value is less than or equal to the chart's timeframe, the period will reset on every chart bar, which means the indicator will only use the last N bars in its calculation (where N is the "Length" value).

Lookback period
Specifies the number of historical periods used in the average volume calculation at the current time point. TV uses 5 but I have used 20 as a default setting

Calculation Mode
Specifies the type of volume used in the calculation.

If Cumulative, the indicator uses accumulated volume from the beginning of each period.
If Regular, it uses non-cumulative bar volume

I continually improve my models to add more functionality or styling so watch for updates.
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?