Here is the lazy person's Fibonacci retracement drawing machine. Keep the bars in range pretty big, but you can play around and see what it does. If too small, it gets in your way, and If oversized, your retracements will not properly work upward and downward according to action. So, if you notice that it's always retracing the same direction, then lower the first input.
Now on top of the coding being tricky because of massive history in T-view, trading the Fibs is not an easy task either. Experienced Fib traders will probably love my script, and those that are not good at Fibs will love the historical look of it, but feel helpless in real-time. It took me years to learn a reaction pattern to the Fib lines, and the one key piece of my memory: if a price-line test comes and fails in relation to your trade, get out!!! <- Not real advice, just experience talking.
I expect to be upgrading this particular script in the future. Enjoy!