Moving Fibonacci
Mar 2, 2020

The Moving Fibonacci indicator automatically calculates and plots Fibonacci retracement levels based on a rolling lookback window, providing real-time insights into potential pullback and extension zones without manual drawing.
Usage
The Moving Fibonacci tool is used to identify dynamic support and resistance levels. Unlike traditional static Fibonacci retracements, this tool updates with price action, allowing traders to see where key ratios sit relative to the current market trend.
Traders can use this indicator to:
- Identify potential entry points during pullbacks to the 0.382, 0.5, or 0.618 levels.
- Determine profit-taking targets or stop-loss placements based on the high (0.0) and low (1.0) boundaries.
- Observe how price reacts to specific levels to gauge trend strength.
Details
The script calculates levels by finding the highest high and lowest low over a user-defined period (Length). It then applies standard Fibonacci ratios—0.236, 0.382, 0.5, 0.618, and 0.786—to the range between these two points. Because the highest and lowest points shift as new bars form, the levels "move" across the chart, creating a dynamic representation of market structure.
Settings
- Length: Determines the number of bars used to calculate the highest high and lowest low. A larger length provides more stable, long-term levels, while a shorter length makes the indicator more reactive to recent price swings.
FAQ
How do I access Moving Fibonacci?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I change the Fibonacci levels?
The current version uses standard fixed ratios (23.6%, 38.2%, 50%, 61.8%, 78.6%), but you can adjust the lookback "Length" to change the range they are applied to.
Does this indicator provide alerts?
Yes, the script is optimized with alerts that trigger whenever the price crosses any of the plotted Fibonacci levels.
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.