Auto Fib Zones

It will then draw the fibzones for the trend line. The fib zone will auto update for as long as the trend line continues (size will keep increasing).
The zones will continue to extend to the right along with price until it is tested. The start of the green teal zone is the 0.618 and fills to the 0.786 and the Blue zone is the 0.786 and fills to the trend start or 1 value of the fib.
You can adjust the Bars Back variable to require more or less candles to create/ validate a new trend. In the screen shot about it is set to 50 bars however I've seen good results on higher timeframes like 4h + with 15 bars as the setting.
This is basically ITC's Optimal Trade Entry concept at least that is what the original inspiration for modifying my base script was.
As always hope it helps. God bless
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Para acceder rápidamente a un gráfico, añada este script a sus favoritos: obtenga más información aquí.
Exención de responsabilidad
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Para acceder rápidamente a un gráfico, añada este script a sus favoritos: obtenga más información aquí.