OPEN-SOURCE SCRIPT
S/R Barry, extended by PeterO

Simple script showing S/R lines.
I have extended this script

What have I added precisely? I extended S/R lines. Now there are 2 most recent support lines and 2 most recent resistance lines visible on the chart at all times.
Original S/R Barry script showed only 1 support and 1 resistance lines at a time. So it was showing where the price reversed, but didn't provide value in "retest" situation. Extended version is aimed at working with these "retests".
Enjoy!
I have extended this script

What have I added precisely? I extended S/R lines. Now there are 2 most recent support lines and 2 most recent resistance lines visible on the chart at all times.
Original S/R Barry script showed only 1 support and 1 resistance lines at a time. So it was showing where the price reversed, but didn't provide value in "retest" situation. Extended version is aimed at working with these "retests".
Enjoy!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
I auto-execute TradingView Alerts into MT4/MT5 using this: tradingconnector.com 1-second delivery. Ping me if you need support with installation.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
I auto-execute TradingView Alerts into MT4/MT5 using this: tradingconnector.com 1-second delivery. Ping me if you need support with installation.
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.