MA_PT

OBV High / LOW (On-Balance Volume )

MA_PT Aktualisiert   
This is a simple application of OBV indicator (On-Balance Volume ), to visually determine when a given stock current obv is near the highest or lowest based on the number of lookback bars.

Indicator examples:

### OBV value is near an all-time high ##
  • breakthrough, stock value could set new all-time highs.
  • rejection, stock value could come down or consolidate.

Example


Inputs

  • OBV High Lookback -> numbers of bars to look back for the obv high.
  • OBV LowLookback -> numbers of bars to look back for the obv low.
  • OBV EMA Length -> Ema length

Notes:
  • This script also comes with an ema indicator based on obv for smoothing the obv signal since it gets noise at lower timeframes (by default comes disabled)


OBV information
https://www.investopedia.com/terms/o/onbalancevolume.asp


Comments:
This is my first script any ideas, suggestions, or detected errors (language/script) don´t hesitate to send a message.


Best regards, Mauro.

Versionshinweise:
Minor fix : Change OBV plot color from white to yellow to fix white theme problem
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?