Fibonacci levels

Aug 11, 2017

Static chart image
Support and Resistance
Channels
Fibonacci
Moving Averages
Volatility

The Fibonacci levels indicator provides a dynamic volatility-based envelope system that uses Fibonacci ratios and standard deviation to identify potential support and resistance zones. It functions as a specialized variation of Bollinger Bands, offering multiple tiers of price expansion and contraction levels calculated relative to a central exponential moving average.

Usage

The Usage section describes how the script can be used, examples should be provided in this section. This section also focuses on how main settings affect the indicator interpretation and output.

  • Trend Identification: The central Mid Line (EMA) serves as the primary trend filter. When price remains consistently above the Mid Line, the trend is considered bullish; when below, it is considered bearish.
  • Volatility Envelopes: The script plots six levels above and six levels below the Mid Line. These levels expand and contract based on market volatility (Standard Deviation).
  • Support and Resistance: Traders can use the outer bands (Levels 4, 5, and 6) as potential exhaustion points or reversal zones, while the inner bands (Levels 1, 2, and 3) often act as minor support or resistance during trending markets.
  • Mean Reversion: Significant deviations away from the Mid Line toward the outer Fibonacci levels may signal overextended market conditions, suggesting a potential return to the mean.

Details

The indicator is constructed using a modified standard deviation approach. Rather than using a static multiplier, the script calculates a "max multiplier" based on the distance between the bar's body (top of candle or bottom of candle) and the Mid Line, normalized by the current standard deviation.

Key Fibonacci-related constants used in the calculation include:

  • 0.38196601
  • 1.38196601
  • 1.61803399

The script utilizes an "Effective Close," which selects the top of the candle body in bullish bars and the bottom of the candle body in bearish bars, to calculate the base EMA and Standard Deviation. This focus on candle bodies rather than wicks aims to reduce noise from erratic price spikes. This script is a refactored version of the original work by @raymond_red_reddington.

Settings

  • 50 MA: A secondary period setting (retained for compatibility with original logic).
  • 100 MA: Determines the lookback period for the central Exponential Moving Average (EMA) and the Standard Deviation calculation used for the bands. Increasing this value results in smoother, slower-reacting levels.

FAQ

How do I interpret the different levels? The levels represent various degrees of price deviation. Inner levels (1-3) represent standard volatility fluctuations, while outer levels (4-6) represent extreme price extensions where reversals or significant pullbacks are more likely to occur.

How does this differ from standard Bollinger Bands? Unlike standard Bollinger Bands which typically use a simple moving average and a static multiplier of 2, this indicator uses an EMA, an "Effective Close" calculation based on candle bodies, and dynamic multipliers derived from Fibonacci ratios.

How can I access this indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free access on the following platforms
tradingviewSymbolTradingView
ninjatraderNinjaTrader
metatrader4MetaTrader 4/5
thinkorswimThinkorswim

Unlock Unlimited Access to the LuxAlgo Library

Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.

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.