Auto Fibonacci S/R
Dec 10, 2018

The Auto Fibonacci S/R indicator automatically identifies and plots key Fibonacci retracement levels based on the highest and lowest prices within a user-defined lookback period. It provides a dynamic way to visualize potential support and resistance zones across various timeframes without manual drawing.
Usage
The indicator can be used to identify potential reversal points or areas of price consolidation. Traders often look for price reactions at specific Fibonacci levels (such as 0.618 or 0.5) to confirm entries or exits.
- Support/Resistance Identification: The 0, 0.236, 0.382, 0.5, 0.618, 0.786, and 1 levels act as horizontal support and resistance lines based on recent market volatility.
- Trend Confirmation: When price stays above the 0.5 (midpoint) level, it may indicate a bullish bias within the defined period, while staying below suggests a bearish bias.
- Timeframes: While the tool works on all timeframes, it is particularly effective on higher timeframes like H1 or H4 for identifying significant structural levels.
Details
The script calculates the highest high and lowest low over a specified "Period" input. The range (difference between the high and low) is then used to calculate standard Fibonacci ratios. The levels are plotted as horizontal lines using a circular style that tracks price across the chart.
The tool also includes built-in alert logic for the 0.5 Fibonacci level, notifying users when the price crosses over or under this significant midpoint.
Settings
- Period: Sets the number of bars the indicator looks back to find the highest high and lowest low for the Fibonacci calculation.
FAQ
How do I interpret the Fibonacci levels? Levels near the bottom (0, 0.236) often act as support in an uptrend, while levels near the top (0.786, 1) act as resistance. The 0.5 level is a key equilibrium point.
Can I change the lookback period? Yes, you can adjust the "Period" setting in the indicator inputs to capture shorter-term or longer-term price swings.
How can I access Auto Fibonacci S/R? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.