OPEN-SOURCE SCRIPT

N Bars Down Backtest

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

WARNING:
- For purpose educate only
- This script to change bars colors.

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.