It makes it easier to detect DIVERGENCES.
1 2 3 4 5 6 7 8 9 10 11 |
// 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" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
An updated version can be found here https://www.prorealcode.com/topic/conversion-of-pine-script-obv-osc-0-1/#post-177592
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
Sure, but you should start a new topic on the Probuilder support forum. Thank you 🙂