Fibonacci + XABCD Formation v1.0

Nov 12, 2025

Static chart image
Support and Resistance
Fibonacci
Patterns

The Fibonacci + XABCD Formation v1.0 indicator identifies the most recent significant swing structures to automatically plot comprehensive Fibonacci extension levels and project potential harmonic XABCD patterns. This tool provides a complete visual framework for identifying key support and resistance levels alongside price targets derived from recent impulse moves.

Usage

The tool is designed to assist traders in identifying market structure and target levels based on Fibonacci theory.

  • Swing Detection: The indicator automatically identifies Point X (swing low) and Point A (swing high) within a user-defined lookback period.
  • Fibonacci Analysis: Once the XA leg is established, the script plots 18 different Fibonacci levels, which can be used to identify potential retracement or extension zones.
  • Harmonic Projection: The script identifies a B-point retracement (typically at the 0.382 or 0.5 levels) and projects a "C" target. This projection follows a classic price symmetry model (XA=BC), providing a visual representation of where an upward move might exhaust.
  • Real-time Monitoring: An on-screen information table displays the exact price values for the X, A, B, and C points, allowing for quick reference during fast-moving market conditions.

Details

The script executes a multi-step calculation process:

  1. Lookback Scan: It scans the user-defined "Lookback Bars" to find the absolute lowest price (X).
  2. Sequential High: It searches for the highest high (A) that occurs strictly after Point X.
  3. Dynamic B Point: Point B is dynamically assigned based on current price action relative to the 0.382 and 0.5 Fibonacci retracements. If price is above the 0.5 level, that level is highlighted as the primary support; otherwise, the 0.382 level is used.
  4. Target Projection: The C target is calculated by taking the price range of the XA leg and adding it to the B point value.

Settings

Fibonacci Levels

  • Show Levels (0.0 - 4.618): Toggle the visibility of 17 individual Fibonacci retracement and extension levels.
  • Level Colors: Customize the color for each specific Fibonacci level.

XABCD

  • Show XABCD Formation: Enables or disables the drawing of the harmonic leg connections.
  • Line Customization: Adjust the color and thickness of the XA and AB lines.
  • Show C Target: Toggles the visibility of the projected C target price level.
  • C Target Color: Sets the color for the projected target line and labels.

Appearance

  • Lookback Bars: Determines the number of historical bars scanned to find the X and A points.
  • Line Style: Choose between Solid, Dashed, or Dotted lines for Fibonacci levels.
  • Show Price/Percent Tickets: Toggles the display of price values on the right and percentage labels on the left.
  • Extend Lines: Options to extend Fibonacci levels to the left, right, or both.

FAQ

How do I use the C Target?

The C target represents a potential price objective where the current move might reach resistance, based on the magnitude of the initial XA impulse added to the retracement point B.

Why does Point B change?

Point B is dynamic; it updates between the 0.382 and 0.5 retracement levels depending on which level is currently acting as the active support for the price action.

How can I access Fibonacci + XABCD Formation v1.0?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.