OPEN-SOURCE SCRIPT

Fibonacci Grid [LuxAlgo]

Updated
The following indicator returns multiple diagonal lines forming a grid. Each line has 45-degree and is set depending on Fibonacci ratios as well as the maximum and minimum price value over a certain lookback period. These can be used as potential support and resistance.

Users also have the option to set equidistant lines instead of having them determined by Fibonacci ratios.

Settings
  • Length: Lookback period for determining the maximum/minimum price value used for constructing the grid.
  • Resolution: Grid resolution, higher values will return more lines (only available when the "Use Fibonacci Ratios" is disabled)
  • Use Fibonacci Ratios: Set the lines based on Fibonacci Ratios, 6 ratios are used.


Usage

Each individual diagonal line can be used as support/resistance. Two Diagonal lines form channels where the price might evolve until a breakout.

The underlying logic of this grid determined by Fibonacci ratios is that price variations farther away from the main diagonals (in orange) would tend to move inside tighter channels.

snapshot

Diagonals set using Fibonacci Ratios will form tighter channels when away from the center of the Lookback area. While equidistant lines will keep the same distance between each line.

snapshot
Release Notes
Minor changes.
Release Notes
Users can select anchor points for the indicator to display a Fibonacci Grid.

The indicator is no longer based on recent data which prevents back-painting.
Release Notes
Diagonals now only extend to the right side of chart.
fibgridGRIDgridtradingLUXluxalgoTrend Analysis

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