Rational MTF Auto - Fibonacci Retracement Levels
Jun 6, 2020

The Rational MTF Auto - Fibonacci Retracement Levels indicator automatically plots multi-timeframe support and resistance levels based on rational Fibonacci zones to help traders identify key price targets and reversal areas.
Usage
The tool is designed to provide a "rational" view of market structure by calculating Fibonacci retracement levels from a significant historical anchor point (starting January 1, 2009). It automatically determines the high and low points on a weekly basis to project support and resistance levels across various timeframes.
Traders can use these levels to:
- Identify potential entry and exit points within specific Fibonacci zones.
- Recognize when the market is in a "wait" state; if the current price is exactly equal to a support or resistance level, the indicator may return an NA value, signaling that a clear region has not yet been established.
- Monitor price action relative to the 23.6%, 38.2%, 50.0%, and 61.8% retracement levels, which are often key areas of interest for institutional and retail traders alike.
Details
The script utilizes a Multi-Timeframe (MTF) approach by requesting data from the weekly ("W") timeframe regardless of the chart's current resolution. The calculation anchor is set to the post-2008 financial crisis period (starting 2009) to provide a long-term structural perspective. Depending on whether the detected trend is bullish or bearish (determined by the relative positions of the high and low bars), the Fibonacci levels are projected accordingly.
The indicator divides the price action into seven distinct "zones." When the current price enters one of these zones, the script dynamically updates the local Fibonacci retracement levels for that specific area, providing more granular support and resistance data relevant to the current price location.
Settings
As per the provided source code, this indicator primarily relies on automated calculations and does not feature user-adjustable input parameters for the core logic.
- Internal Logic: The script uses a hardcoded start date of January 1, 2009, for historical anchoring.
- Timeframe: Fixed to weekly ("W") for the source of structural highs and lows.
- Visuals: The indicator plots multiple Fibonacci levels (0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) with corresponding labels and horizontal price tracks.
FAQ
How do I use the Rational MTF Auto - Fibonacci Retracement Levels?
The indicator is plug-and-play. Once added to the chart, it will automatically project levels based on the historical weekly structure. Look for price reactions near the plotted horizontal lines.
Why do some values show as NA?
The script is designed to wait for a clear region selection. If the security price is precisely equal to the calculated support or resistance levels, it may temporarily display NA to signify that a trend or zone transition is currently in progress.
How can I access this script?
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.