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.
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?