Auto Intraday Fibonacci Levels
Aug 22, 2020

The Auto Intraday Fibonacci Levels indicator automatically plots key Fibonacci retracement and extension levels based on the current day's price range to help traders identify intraday support and resistance zones.
Usage
The indicator can be used by intraday traders to find potential reversal points or breakout targets during the trading session.
- Support and Resistance: The standard Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.786) act as dynamic intraday zones where price often finds temporary pauses or reversals.
- Price Targets: The extension levels (1.386, 1.618, 2.0) provide potential profit-taking targets or areas of interest if the price breaks out of the daily high/low range.
- Trend Context: The levels are anchored based on whether the current day's close is higher or lower than the open, aligning the Fibonacci sequence with the intraday trend direction.
Details
The script utilizes the request.security function to fetch daily (D) high, low, open, and close data. It calculates the total range (High - Low) and applies Fibonacci ratios to this distance.
A unique aspect of this implementation is its directional logic:
- If the daily close is above the open (bullish), the 0.0 level is set at the high and the 1.0 level at the low.
- If the daily close is below the open (bearish), the 0.0 level is set at the low and the 1.0 level at the high.
This ensures that the retracement levels are projected logically relative to the day's price action. The indicator is designed to only display on the most recent trading day to keep the chart clean.
Settings
This script uses hardcoded Fibonacci ratios and does not feature external input parameters for the levels themselves. The visual output includes:
- Fibonacci Levels: Plots for 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0, 1.386, 1.618, and 2.0.
- Labels: Price labels are displayed on the right side of the chart for easy identification of the specific ratio.
FAQ
How do I access Auto Intraday Fibonacci Levels?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Does this indicator repaint?
The indicator uses barmerge.lookahead_on for daily data to ensure the levels are calculated using the current day's developing range. While the levels update as new highs or lows are formed during the day, the historical levels for the current session reflect the intraday progress.
Can I set alerts for specific levels?
Yes, the script includes built-in alert conditions that trigger whenever the price crosses any of the plotted Fibonacci levels.
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.

