Fibonacci Levels on Any Indicator
Jun 13, 2023

The Fibonacci Levels on Any Indicator tool allows users to plot horizontal Fibonacci retracement and extension levels based on custom conditions from any indicator source. It is designed to help traders manage trades, set targets, and reduce risk by dynamically anchoring Fibonacci levels to specific market events or technical signals.
Usage
The script requires identifying four primary elements to function:
- Starting Point: Defines the condition that triggers the drawing of the levels.
- Ending Point: Defines when the drawing of the levels concludes.
- High Point (100% Level): The price level representing the top of the range.
- Low Point (0% Level): The price level representing the bottom of the range.
The tool provides several logic options for the Starting and Ending points:
- New Phase: Triggered when a value from an external indicator changes from NaN to a real number.
- Crosses Above/Below: Triggered when one indicator source crosses another.
- Reversal Up/Down: Triggered when an indicator's value increases or decreases relative to its previous value.
- First/Last Bar: Useful for creating stationary or historical anchor points.
Details
The indicator functions by monitoring input sources for specific logical states. Once a "Start" condition is met, the script captures the current Upper and Lower pivot values (which can be derived from ATR bands, other indicator sources, or static numbers). These values then serve as the 0% and 100% anchors for the horizontal line sequence. The levels persist until the "End" condition is met. This modular approach allows it to be used as an overlay for diverse strategies such as Supertrend, Moving Average crossovers, or RSI reversals.
Settings
Signal Conditions
- Start Drawing Condition: Name, color, and logical condition (e.g., Crosses Above) to begin plotting.
- End Drawing Condition: Name, color, and logical condition to stop plotting.
- Value(1) & Value(2): The sources (Source or Numerical) used to evaluate the signal conditions.
Fibonacci Pivots
- Upper Pivot: Sets the source for the 100% level (Long) or 0% level (Short). Options include Source, ATR Upper Band, or Numerical.
- Lower Pivot: Sets the source for the 0% level (Long) or 100% level (Short).
- ATR Settings: Configures the Length and Multiplier if ATR bands are selected as pivots.
Line & Label Style
- Lines: Toggle visibility, line style (solid, dashed, dotted), extension (Left, Right, Both), and thickness.
- Labels: Toggle visibility, position, and information displayed (Percent, Price, or Value).
Fibonacci Levels
- Show Only Last Direction: If enabled, only the most recent set of Fibonacci levels is displayed on the chart.
- Reverse Fibonacci Levels: Flips the 0% and 100% anchors.
- Level Visibility/Color: Individual toggles and color pickers for twelve distinct Fibonacci levels.
FAQ
How do I use this with a specific indicator like the Supertrend? You can set the "Start Drawing Condition" to "Value(1) New Phase" and select the Supertrend's up-trend plot as the source.
Can I use static price levels instead of indicator plots? Yes, change the Pivot type to "Numerical" and enter the specific price values manually in the input fields.
How can I access Fibonacci Levels on Any Indicator? 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.

