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.
Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?