Fibonacci retracement
Jul 14, 2025

The Fibonacci retracement indicator automatically plots key retracement levels based on the current market trend detected via market structure analysis. By identifying Breaks of Structure (BOS) and Changes of Character (CHoCH), the tool ensures Fibonacci levels are drawn from swing low to high in bullish trends and swing high to low in bearish trends.
Usage
The Usage of this tool centers on identifying potential entry points during price pullbacks within a confirmed trend. Traders can use the automated levels to spot "key" zones where price history suggests reactions are likely.
- Trend Alignment: The script only plots retracements that align with the current trend, reducing noise from counter-trend moves.
- Market Structure: Labels like 'BOS' and 'CHoCH' provide visual confirmation of trend continuation or reversals.
- Entry Zones: Focus on the 61.8% "Golden Ratio" for standard retracements or the 78.6% level for deeper corrections.
Details
This script utilizes a custom market structure library to determine the prevailing trend. Unlike standard manual Fibonacci tools, this indicator is dynamic; it recalculates the anchor points (swing highs and lows) automatically as the market forms new pivots. The calculation of levels follows standard financial mathematics, where levels like 23.6%, 38.2%, and 61.8% are derived from the Fibonacci sequence ratios, while the 50% level is included due to its historical significance in price action.
Settings
Market structure
- Pivot Length (Left/Right): Determines the number of bars required to identify a swing high or low.
- Show Pivots: Toggles the visibility of pivot labels on the chart.
- Font Size: Adjusts the text size for market structure labels.
Fibonacci retracement
- Trendline: Enables or disables the diagonal line connecting the swing points.
- Levels Line Style: Changes the appearance of the horizontal level lines (Solid, Dashed, Dotted).
- Extend Right: Extends the level lines indefinitely to the right side of the chart.
- Zone Settings (1-24): Allows users to enable/disable specific ratios, customize their values, and change their colors.
- Reverse: Flips the Fibonacci levels (useful for specific projection techniques).
- Prices/Levels: Toggles the display of price values and ratio values/percentages next to the lines.
- Labels Position: Sets label alignment to Left, Right, or "Adapt" (which automatically moves labels based on trend direction).
FAQ
How do I access the Fibonacci retracement indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What does CHoCH+ signify? CHoCH+ indicates a "Change of Character Plus," which is a trend reversal signal accompanied by a failed swing, providing a more robust indication of a shift in market sentiment.
Can I customize the Fibonacci ratios? Yes, the settings menu includes 24 customizable slots where you can input specific decimal values to suit your trading strategy.
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.

