Logarithmic Fibonacci Retrace
Jan 25, 2019

The Logarithmic Fibonacci Retrace indicator provides a specialized tool for calculating retracement levels based on logarithmic mathematics rather than standard linear progression. This approach is particularly effective when analyzing significant price movements over long timeframes where linear calculations may produce inaccurate results.
Usage
To use the tool, users must manually input two price points representing the start and end of a trend move (Wave 0 and Wave 1). Once the price points are entered, the "Show lines" and "Show labels" settings can be enabled to visualize the retracement levels on the chart.
- Wave 0 & 1: Define the price range for the retracement calculation.
- Visualizing Levels: Toggle the visibility of the Fibonacci lines and their respective ratio labels.
- Adjusting Layout: Use the "Label offset" setting to shift labels horizontally, ensuring they do not overlap with recent price action.
Note: As this is an indicator script, the input values for Wave 0 and 1 must be updated manually when switching between different symbols or timeframes.
Details
The core logic of this script uses logarithmic growth/decay formulas to determine Fibonacci ratios. In standard linear Fibonacci tools, the distance between 0 and 0.5 is the same as 0.5 and 1.0 in absolute price terms. In a logarithmic model, these levels are calculated as a percentage of the total move, which better reflects how markets trend during periods of high volatility or multi-year price discovery. This method is often favored by Elliott Wave practitioners to identify high-probability reversal zones.
Settings
- Wave 0: The starting price point of the move.
- Wave 1: The ending price point of the move.
- Show lines: Enables the display of horizontal circles at the calculated Fibonacci levels.
- Show labels: Enables text labels indicating the Fibonacci ratio (0.000, 0.236, 0.382, 0.500, 0.618, 0.786, 0.886, 1.000).
- Label offset: Shifts the lines and labels to the right of the current bar by a specified number of bars.
FAQ
Why use logarithmic instead of linear Fibonacci?
Logarithmic retracements account for the percentage change in price, making them more accurate for long-term charts or assets with massive price swings where linear math fails to reflect market psychology correctly.
Why are lines hidden by default?
Lines are hidden initially to prevent the chart from warping its vertical scale before you have entered the specific Wave 0 and Wave 1 values for your chosen asset.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
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.

