Daily Pivot (Fibonacci)
Mar 20, 2021

The Daily Pivot (Fibonacci) indicator is a versatile technical analysis tool that automatically calculates and plots daily support and resistance levels using both Traditional and Fibonacci methodologies. It serves as a comprehensive framework for intraday traders to identify potential price reversals or breakout points based on the previous period's price action.
Usage
The indicator can be used to identify key psychological levels where price is likely to react. Traders often look for long entries when price bounces off a Support (S) level or short entries when price rejects a Resistance (R) level.
- Pivot Point (PP): Acts as the primary anchor for the session's bias. Trading above the PP generally suggests a bullish sentiment, while trading below suggests a bearish sentiment.
- Fibonacci Mode: Calculates levels (R1-R5 and S1-S5) using Fibonacci ratios (0.382, 0.618, 1.0, 1.382, 1.618) applied to the previous session's range.
- Traditional Mode: Uses standard floor pivot calculations for support and resistance levels.
- Intraday Focus: The tool is designed for intraday charts, where it project levels from a higher timeframe (defaulting to Daily) onto the current chart.
Details
The script utilizes the request.security function to fetch the High, Low, and Close prices of the previous session based on the user-defined "Pivot Timeframe."
- Traditional Formula: R1 is calculated as
PP * 2 - Low, whereas S1 isPP * 2 - High. - Fibonacci Formula: Levels are determined by adding or subtracting specific multiples of the previous range (High - Low) from the Pivot Point. For example, R1 is
PP + 0.382 * (High - Low).
The indicator includes a dynamic labeling system that adjusts based on the "Pivot Label offset" setting, ensuring that price levels and their corresponding values remain visible at the edge of the chart.
Settings
- Pivot Type: Choose between 'Traditional' or 'Fibonacci' calculation methods.
- Pivot (Checkbox): Toggles the visibility of the central Pivot Point line.
- R1 - R5: Individual checkboxes to toggle specific Resistance levels.
- S1 - S5: Individual checkboxes to toggle specific Support levels.
- Pivot Label offset: Adjusts the horizontal placement of the price labels to prevent overlap with candles.
- Timeframe: Defines the lookback period used for calculation (default is 'D' for Daily).
FAQ
How do I change the calculation method?
You can switch between Traditional and Fibonacci methods in the "Pivot Type" dropdown menu within the script settings.
Why are the levels not appearing on my chart?
Ensure you are viewing an intraday timeframe (e.g., 1m, 5m, 1h) and that the "Pivot" or specific "R/S" checkboxes are enabled in the settings.
Where can I find more tools like this?
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.

