Raphpoint

Volume RSI

Raphpoint Aktualisiert   
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.
Versionshinweise:
Huge mistake !

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

Sorry for this mistake...
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?