OPEN-SOURCE SCRIPT

N Bars Down

Evaluates for n number of consecutive lower closes. Returns a value
of 1 when the condition is true or 0 when false.

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.