Support Board
Date/Time: Sun, 23 Feb 2025 08:25:25 +0000
Post From: On Balance Volume Oscillator
[2021-02-06 07:11:40] |
User483581 - Posts: 2 |
Hello, I'm interested in the "On Balance Volume Oscillator" by Lazy Bear on Tradingview. Is there any similar indicator on Sierra Chart? Below is the source code: // @author LazyBear // // Appreciate a note if you use this code anywhere. // study(title="On Balance Volume Oscillator [LazyBear]", shorttitle="OBVOSC_LB") src = close length=input(20) obv(src) => cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume) os=obv(src) obv_osc = (os - ema(os,length)) obc_color=obv_osc > 0 ? green : red plot(obv_osc, color=obc_color, style=line,title="OBV-Points", linewidth=2) plot(obv_osc, color=silver, transp=70, title="OBV", style=area) hline(0) Thanks! |