Fibonacci Sequence Moving Average

Jul 22, 2025

Static chart image
Signals
Oscillators
Divergences
Moving Averages
Volatility

The Fibonacci Sequence Moving Average indicator provides a dual-component trading framework that utilizes Fibonacci-based moving averages and a normalized adaptive oscillator to identify trend direction, momentum shifts, and market divergences.

Usage

The Usage section describes how the script can be used to interpret market trends and momentum.

  • Trend Filtering: Users can plot the Smoothed Fibonacci MA on the price chart to determine the primary trend direction. Trading in the direction of the MA slope can help align with higher-timeframe momentum.
  • Mean Reversion: By setting the Oscillator Type to "Distance," traders can identify overextended price action relative to the average. Readings exceeding the ±50 extreme thresholds may signal potential exhaustion and a return to the mean.
  • Momentum Analysis: The "Momentum" mode tracks the rate of change of the average itself. This is useful for identifying accelerating trends before they are fully visible in price action.
  • Volatility-Adjusted Scaling: The "Relative" mode uses the Average True Range (ATR) to normalize the distance between price and the MA, making it effective for assets with fluctuating volatility.
  • Divergence Trading: The indicator automatically identifies Regular and Hidden divergences. Regular divergences (R) suggest potential trend reversals, while Hidden divergences (H) often indicate trend continuation.

Details

The script constructs a composite moving average using five periods derived from the Fibonacci sequence (5, 8, 13, 21, and 34). These periods can be scaled globally using a multiplier.

  • Weighting Logic: The five component averages are blended using one of four methods: Equal, Linear (weighted by index), Exponential (powers of 2), or Fibonacci (weighted by the period itself).
  • Smoothing: After blending, a second smoothing layer is applied (e.g., EMA, HMA, TEMA) to reduce noise and provide a cleaner signal line.
  • Normalization: To ensure the oscillator remains comparable across different asset classes and timeframes, the raw values are processed through a look-back normalizer, rescaling the output into a fixed -100 to +100 range.

Settings

Calculation Settings

  • Source: Determines the price data used for calculations (default is Close).
  • Fibonacci Multiplier: Scales the base Fibonacci periods (1 = 5, 8, 13, 21, 34; 2 = 10, 16, 26, 42, 68).
  • Weighting Method: Choose between Equal, Linear, Exponential, or Fibonacci weighting for the component averages.
  • Smoothing Period: The length of the final smoothing filter.
  • Smoothing Type: Selects the mathematical model for smoothing (SMA, EMA, DEMA, TEMA, RMA, WMA, HMA).

Normalization

  • Oscillator Type: Selects the logic for the raw oscillator (Distance, Momentum, or Relative).
  • Normalization Lookback: The window used to determine the highest and lowest values for rescaling.

Divergences

  • Show Detected Divergences: Toggles the visibility of Regular and Hidden divergence labels.
  • Pivot Lookback Right/Left: Sets the number of bars required to confirm a pivot high or low.
  • Signal Length: Adjusts the sensitivity of the divergence detection engine.

Display Settings

  • Show Oscillator/MA/Components: Toggles various visual elements on the chart.
  • Show Threshold Lines: Displays the ±20 and ±50 horizontal guides.
  • Color Bars: Tints price candles based on oscillator polarity.

FAQ

How do I interpret the "R" and "H" labels? "R" stands for Regular Divergence, which indicates a potential reversal. "H" stands for Hidden Divergence, which typically signals that the current trend is likely to continue.

What is the benefit of using the Fibonacci Multiplier? The multiplier allows you to adapt the indicator to different timeframes without losing the mathematical relationship between the Fibonacci periods. A higher multiplier is generally better for long-term trend following.

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.