OPEN-SOURCE SCRIPT

ka66: Normalised/Relative Volume

업데이트됨
This is an idea taken from a John Bollinger (of Bollinger Bands fame) talk. Instead of showing volume with a moving average overlay, we show volume relative to its moving average:



Now if we get a value of 1, that means the current volume is the same as its historical average. Under 0, less than average, and above zero, greater than its average.

If we get a value like 2, then current volume is twice its average. I hope the implication of this being displayed visually is becoming clearer.

  • We plot this relative volume as columns.
  • We then plot horizontal levels, like 1, 2, 3 to see the magnitude of the current volume relative to its average.
  • Consecutive rising or falling relative volume is shown in the same colour.


I am still exploring volume as trading data point, but we see some ideas from this visual representation:

  • How do volume patterns change across timeframes? Do we get better signals or higher or lower time frames (e.g. big relative volume spikes)
  • Can consecutive rises or falls indicate a big potential move, even though price is just fluctuating.
  • What about a switch from rise to fall.
  • If we get pinbars/spikes with a big relative volume spike, can we then infer more clearly whether buyers or sellers are in control.

릴리즈 노트
Changelog

  1. Remove prior coloring scheme, based on rising/falling bars, it was confusing and useless.
  2. Now color the bar, depending on what relative level it hits, by default: Gray, if below its average, blue if greater than its average, but below twice the average. Orange if twice the average but lower than thrice the average, and red if greater than thrice its average.
  3. Apply the moving average on top of the normalised volume, thus we now get essentially the same information as with regular volume, just on a normalised/relative scale!
  4. Allow the relative levels to be adjusted, but we expect that level 1 > level 2 > level 3, or you'll get odd colours!


In the chart, the bottom pane shows regular volume, with a moving average plotted with an area plot style. And above that, the relative volume indicator, to provide an illustration of how they are similar. We have the same relative magnitudes, but we get to quantify how much larger or smaller the volume is compared to the average, on a scale of 0 to N.

3 configurable scale levels are provided, defaulting to 1 (meaning: volume equals its average), 2 (volume twice its average), and 3 (volume thrice its average).

Traders may decide to adjust or even remove some levels, depending on their strategy parameters.
relativevolumeVolume Indicator

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항