### 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.
- 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 Length -> length
- This script also comes with an indicator based on obv for smoothing the obv signal since it gets noise at lower timeframes (by default comes disabled)
This is my first script any ideas, suggestions, or detected errors (language/script) don´t hesitate to send a message.
Best regards, Mauro.
Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.
One needs to know what they're looking for with this script. For me, this script can do what scripts with 100s of lines of code couldn't.
Thank you - God bless you, brother!
Regarding the lines of code, sometimes is all about finding the right tool instead of reinventing the "wheel". :D
Can't agree more!
Hopes this helps with your question.
Note: Tradingview only allows currently the option "overlay" (false/true ) meaning it either creates a new pane or overlays the stock pane, but you can still move scripts around by dragging scripts in the object tree tab.
Regarding the second question, not sure if I'm understanding correctly but you're looking to plot lines on all-time (high/low) in the price (bar chart) or the obv chart?
One example that I looked, was AAPL (Daily), it hit a price high and pulled back (around September 2020) when It hit a historical OBV high as far back as March 2015.
I´m thinking about upgrading this script to account for Historical highs and the Number of "touches" followed by a pullback.