This script is a new version of "FibLines" which automatically draws Fibonacci Lines on chart.
0% line and 100% line are determined by "Period" and "Delay" parameter.

- Period: specifies periods to detect the highest ( bearish ) fractal and the lowest ( bullish ) fractal .
- Delay: specifies the number of new bars you ignore.

(👇 old version)

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.