If you wish to use the ratios in the fib tool, the following are the corresponding alternate values :
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.
when you are in auto scale the higher levels makes the chart to squeeze.
just tried with 5 or 6 iterations in your brilliant way of plotting the lines within for loop and no squeeze observed.
my suggestion is plot first 6 or 7 lines by default and rest optionally