On Balance Volume Disparity Indicator

The On Balance Volume Disparity Indicator was created by Phillip C. Holt (Stocks & Commodities V. 14:6 (265-269)). This converts the classic OBV indicator into Bollinger Bands and calculates the percentage of where the value lies within the Bollinger Bands . Buy when the obvdi rises above its signal line and sell when it falls below the signal line.

This was a special request so let me know what other indicators you would like me to write scripts for!
릴리즈 노트: I changed the charts
릴리즈 노트: changed the signal length
릴리즈 노트: changed to make it more understandable
릴리즈 노트: Allowed someone to change the top and bottom guide and changed the signals to buy or sell when obvdi goes above the top or falls below the bottom
릴리즈 노트: changed the signal to sma and default length to 4
릴리즈 노트: Finalized the buy and sell signals
릴리즈 노트: fixed small typo
릴리즈 노트: changed to match my other indicators
릴리즈 노트: fixed issue with default resolution
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

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


Thank you,
Can you give another look at the S&C article and the code?
Line 23 obvdi = b != 0 ? a / b : 0
should be obvdi = b != 0 ? (1+a) / (1+b) : 0

Line 26 obvdiColor = obvdi > sig ? : obvdi < sig ? :
The interpretation should be sig crosses up .85 Buy sig crosses down .95 Sell, with the possibility to input the boundaries.
+1 응답
sal157011 sal157011
@sal157011, I apologize but my chat doesn't work. All issues have been solved, thanks.
cheatcountry sal157011
@sal157011, no problem
Hey man, thank you for your great work. Quick question: what do topGuide and botGuide variables do and how do these impact the chart? Thanks!
cheatcountry dhman2012
@dhman2012, thank you. these variables are basically the same as overbought and oversold levels. the trading system that phillip holt recommended with these was sell when the indicator falls below the top guide and to buy when it rises above the bottom guide
+1 응답
dhman2012 cheatcountry
@cheatcountry, Got it. Thank you! Much appreciated!
cheatcountry dhman2012
@dhman2012, yeah no worries