Raphpoint

Volume RSI

Raphpoint Cập nhật   
Relative strength index based on volume data.

Indicate volume momentum, and help you define divergences on volume.
The goal is to have an idea and represent in another form volumes and kept eyes on volume momentum on a certain period.
RSI is an indicator about the strength, I keep the oversold/overbought thresholds. I think it still makes sense to interpret.

the calculations is simple, we use the average volume up (avg_vol_up) and average volume down (avg_vol_down) over the period.

then calculate the relatives strength : ( avg_vol_up / ( avg_vol_up + avg_vol_down ) ) * 100

The period is 14 by default. The period is used for calculating mean.

I also add MA it helps to have a global look on the indicator.

In my code I used the idea of @Padronhosnai in his code "positve/negative volume" to get volumes in the right form.
For pictures I also use his indicator it's the one above.
Phát hành các Ghi chú:
Huge mistake !

"Math.sum" already calculate the mean. So it was incorrect to divide again by the length

Sorry for this mistake...
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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 đồ?