OPEN-SOURCE SCRIPT
stelaraX - Auto Fibonacci

stelaraX – Auto Fibonacci
stelaraX – Auto Fibonacci is an automatic Fibonacci plotting indicator that detects recent pivot highs and pivot lows and draws Fibonacci retracement and extension levels across the latest swing range. The script updates dynamically whenever a new pivot is confirmed, providing an always-current Fibonacci map without manual drawing.
For advanced AI-based chart analysis and automated Fibonacci interpretation, visit stelarax.com
Core logic
The indicator detects swing pivots using a user-defined pivot lookback:
* pivot highs are detected using pivot high confirmation
* pivot lows are detected using pivot low confirmation
When a new pivot is confirmed and both a recent high and low are available, the script:
* defines the swing range between the latest pivot high and pivot low
* draws Fibonacci levels across that range
* extends the levels forward by a configurable number of bars
The plotted level set includes retracements and extensions:
* -0.618 and -0.272
* 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
* 1.272 and 1.618
Extensions can be enabled or disabled via a dedicated setting.
Visualization
Fibonacci levels are plotted as horizontal lines and labeled with:
* the Fibonacci ratio
* the corresponding price value
Colors are assigned based on level type:
* 0 and 1 levels use a dedicated highlight color
* 0.5 uses a key level color
* standard retracement levels use a base fib color
* extension levels use a separate extension color
When a new pivot forms, the indicator clears the previous Fibonacci drawings and redraws the full set to keep the chart clean and current.
Use case
This indicator is intended for:
* automatic Fibonacci retracement mapping on the latest swing
* identifying potential reaction levels for pullbacks and continuations
* projecting extension targets beyond the current range
* level-based confluence with structure, liquidity, and zones
* multi-timeframe Fibonacci alignment
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX – Auto Fibonacci is an automatic Fibonacci plotting indicator that detects recent pivot highs and pivot lows and draws Fibonacci retracement and extension levels across the latest swing range. The script updates dynamically whenever a new pivot is confirmed, providing an always-current Fibonacci map without manual drawing.
For advanced AI-based chart analysis and automated Fibonacci interpretation, visit stelarax.com
Core logic
The indicator detects swing pivots using a user-defined pivot lookback:
* pivot highs are detected using pivot high confirmation
* pivot lows are detected using pivot low confirmation
When a new pivot is confirmed and both a recent high and low are available, the script:
* defines the swing range between the latest pivot high and pivot low
* draws Fibonacci levels across that range
* extends the levels forward by a configurable number of bars
The plotted level set includes retracements and extensions:
* -0.618 and -0.272
* 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
* 1.272 and 1.618
Extensions can be enabled or disabled via a dedicated setting.
Visualization
Fibonacci levels are plotted as horizontal lines and labeled with:
* the Fibonacci ratio
* the corresponding price value
Colors are assigned based on level type:
* 0 and 1 levels use a dedicated highlight color
* 0.5 uses a key level color
* standard retracement levels use a base fib color
* extension levels use a separate extension color
When a new pivot forms, the indicator clears the previous Fibonacci drawings and redraws the full set to keep the chart clean and current.
Use case
This indicator is intended for:
* automatic Fibonacci retracement mapping on the latest swing
* identifying potential reaction levels for pullbacks and continuations
* projecting extension targets beyond the current range
* level-based confluence with structure, liquidity, and zones
* multi-timeframe Fibonacci alignment
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.