LeMogwai

GRIB Trendline

GRIB Trendline show the distance betwen the price and the SAR with the GRIB settings in percentage. It highlight the elasticity of the wave. It's designed to be used with trendlines to spot the bottoms and the tops.
More explanation here :
and here :

note : do not use "selldot" and "buydot", i was testing something and gave up about the idea

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?
study(title="GRIB Trendline", shorttitle="GRIB Trend")
source = close
start = input(0.057)
increment = input(0.005)
maximum = input(2)
out = sar(start, increment, maximum)
price = ((high+low)/2)
plot(price<out?-((out-low)/price)*100:((high-out)/price)*100, style=line, transp=70, color=white,linewidth=2)