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.
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?