OPEN-SOURCE SCRIPT

Fibonacci Ranges (Real-Time) [LuxAlgo]

The "Fibonacci Ranges" indicator combines Fibonacci ratio-derived ranges (channels), together with a Fibonacci pattern of the latest swing high/low.

🔶 USAGE

snapshot

The indicator draws real-time ranges based on Fibonacci ratios as well as retracements. Breakouts from a Fibonacci Channel are also indicated by labels, indicating a potential reversal.

snapshot

Each range extremity/area can also be used as support/resistance.

🔶 CONCEPTS

  1. Fibonacci Channels
  2. Latest Fibonacci


snapshot

Both, Latest Fibonacci and Fibonacci Channels, display different Fibonacci levels (labels not included in the code):

snapshot

However, the 2 react in a totally different way.

🔹 Fibonacci Channels

2 conditions must be fulfilled until a Fibonacci Channel is displayed:

  • New swing high/low
  • close has to be between chosen limits/levels (Break level)


snapshot

As visual guidance, chosen Break levels are accentuated by 2 small gray blocks:

snapshot

Once the channel is displayed, it will remain visible until x consecutive bars break out of the chosen Break level at closing time.
x consecutive bars is set by Break count.

snapshot

snapshot

The amount of breaks is counted in the code. When the price, without breaking the user-set limit, closes back between the 2 levels, the count is reset to 0.

By enabling Channels and Shadows you can see previous channels ("Shadows", which is always delayed with 1 bar)

snapshot

Previous channels can be helpful in finding potential support/resistance areas, especially from large channel blocks

snapshot

The more narrow Break levels are set the less chance the price closes between these 2 levels, and the quicker close breaks out.

In other words, narrow levels give fewer & smaller channels, broader levels give more & larger channels.

Note:

• swing settings: L & R

Break count (x consecutive bars that close outside chosen levels to invalidate the Fibonacci Channel)
will also be of influence in displaying the channels.

Show breaks enable you to visualize signals when there is a break:
snapshot

• Alerts can also be set (Break Down/Break Up)

🔹 Latest Fibonacci

This displays the Fibonacci levels between the latest swing high and swing low, independently from the Fibonacci Channel.

The Lastest Fibonacci can be helpful in detecting the current trend against the larger Fibonacci Channel.

snapshot

🔶 SETTINGS

🔹 Swing Settings



🔹 Fibonacci Channels

  • Channel: Channel / Channels + Shadows / None

  • Break level
    -0.382 - 1.382
      0.000 - 1.000
      0.236 - 0.764
      0.382 - 0.618

  • Break count


🔹 Fibonacci

  • Toggle
  • Colours: [[]-0.382 - 0[]], [[]0.236 - 0.382[]], [[]0.5[]], [[]0.618 - 0.764[]], [[]1 - 1.382[]]
Bands and ChannelsFibonacci Retracementluxalgorangeretracementreversalsignalsupportandresistancezones

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer