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!
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
I auto-execute TradingView Alerts into MT4/MT5 using this: tradingconnector.com 1-second delivery. Ping me if you need support with installation.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
I auto-execute TradingView Alerts into MT4/MT5 using this: tradingconnector.com 1-second delivery. Ping me if you need support with installation.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.