PROTECTED SOURCE SCRIPT
Updated Consecutive Up/Down Bar Labels

Mean reversion likelihood tends to increase with number of consecutive up/down days. This indicator plots a signal when the number of consecutive up/down days exceeds 3, in increasingly bright colors.
Release Notes
Updated to allow two options for up/down:Close > Open
and Close > Prev Day Close
Release Notes
Added option for up days to be defined by increasing lows / down days by decreasing highs.Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.