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 protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?