OPEN-SOURCE SCRIPT

BBPBΔ(OBV-PVT)BB - Time Series Decomposition & Volume Weighted

已更新
This is an indicator that shows 5 different points of information:

#1 The Trendline is uses a time-series decomposition to remove noise and seasonality data to provide a trendline without using moving averages. This is then further processed by a custom VWAP block that weights it based on the time frame you're currently using.
#2 BB%B - This is the blue histogram that's partially transparent. This is used to find when a security is overbought or oversold.
#3 BB%B of the Δ(OBV-PVT). This is the green histogram. We took the OBV and subtracted the PVT from it, then we found the delta of that compared to the previous candle. This output a line, which we wrapped in bollinger bands to find the BB%B of this line. This line is represented as a histogram, for visual clarity.
#4 Long and Short Indicators: Long is represented by a green dot, and short is represented by a red dot.
#5 Zones - there are multiple zones, which are used to identify overbought and oversold zones.

How to use the indicator:

Simple way: Long on green dot, Short on red dot. Use stop losses and take profits.
Slightly More Complex: Same as above, but also close out longs, when the green histogram drops but the blue does not. As this means price action hasn't caught up with volume. Use stop losses and take profits.
Full Usage: Long only when both the green, blue and yellow lines are below 0, and sell when the blue or green histogram rises above 1. Perform the opposite for the shorting. Ignore the dots if you use this method, they are for simple reference points til you get used to this indicator. Use stop losses and take profits.
版本注释
I've added a function to remove repainting, this should improve stability and performance of the algorithm
Breadth IndicatorsVolatilityVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明