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.
릴리즈 노트
Huge mistake !
"Math.sum" already calculate the mean. So it was incorrect to divide again by the length
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.