robertogozzi

On Balance Volume Oscillator

Category: Indicators By: robertogozzi Created: September 14, 2021, 5:28 PM
September 14, 2021, 5:28 PM
Indicators
3 Comments
On Balance Volume Oscillator

It makes it easier to detect DIVERGENCES.

// OBV Oscillator
//
//
//
// Periods = 20
Periods    = max(1,min(999,Periods))
//
MyOBV      = OBV(close)
Sma        = Average[Periods,0](MyOBV)
Diff       = MyOBV - Sma
RETURN Diff AS "Difference"

Download
Filename: On-Balance-Volume-Oscillator.itf
Downloads: 341
robertogozzi
robertogozzi Legend
Roberto https://www.ots-onlinetradingsoftware.com
Author’s Profile

Comments

jissey
5 years ago
#

Bonjour Robertogozzi, cet indicateur est interessant mais serait-il possible de marquer la divergence par une fleche (par ex ) sur le graphique automatiquement quand cette configuration apparait ? Cdlt

robertogozzi
5 years ago
#

Sure, but you should start a new topic on the Probuilder support forum. Thank you :)

robertogozzi
5 years ago
#

An updated version can be found here https://www.prorealcode.com/topic/conversion-of-pine-script-obv-osc-0-1/#post-177592

ProRealCode ProRealCode
Loading...