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 abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un 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)