Democratic Fibonacci Moving Averages
Dec 13, 2022

The Democratic Fibonacci Moving Averages indicator utilizes a collection of ten exponential moving averages based on Fibonacci sequences to determine market trend and momentum through a unified "Democratic" average. By aggregating multiple timeframes into a single consensus line (DFMA), the tool provides a smoothed signal that filters out market noise while highlighting key crossover points for trend identification.
Usage
The Usage section focuses on how to interpret the various moving averages and the core DFMA line to identify potential trade entries and exits.
- Trend Identification: The DFMA line changes color based on its relationship with the 233-period Fibonacci MA. A green DFMA indicates the average of all Fibonacci lengths is above the long-term anchor, suggesting a bullish trend, while a red DFMA suggests a bearish trend.
- Crossover Signals: Traders can use the interaction between the DFMA and the 233-length Fibonacci MA as a signal. A crossover of the DFMA above the 233 MA can be interpreted as a long signal, whereas a cross under can be used for short positions.
- Visual Ribbon: The blue lines represent intermediate Fibonacci lengths (5 to 144). The expansion or contraction of these lines provides a visual representation of trend strength and volatility.
- Table Overlay: The on-screen table provides real-time price data relative to each Fibonacci MA. The cell colors indicate whether the current price is above (bullish) or below (bearish) that specific moving average, or if the price is currently crossing it (neutral).
Details
The script calculates ten Exponential Moving Averages (EMAs) using the following Fibonacci lengths: 3, 5, 8, 13, 21, 34, 55, 89, 144, and 233. The "Democratic Fibonacci Moving Average" (DFMA) is the arithmetic mean of these ten values. This approach gives equal weight to short, medium, and long-term trend data, creating a "consensus" value.
The technical construction uses the 3 and 233 lengths as primary boundaries (plotted with thicker lines), while the DFMA serves as the primary signal line. Alerts are optimized for the crossover between the DFMA and the 233 MA to notify users of potential trend shifts on the close of a bar.
Settings
- Source: Determines the price data used for all moving average calculations (default is OHLC4).
- Panel position: Adjusts the location of the informational table on the chart (top, middle, or bottom).
- Bull: Sets the color used for bullish signals in the table and the DFMA line.
- Bear: Sets the color used for bearish signals in the table and the DFMA line.
- Neutral: Sets the color used for neutral or transitional states within the table cells.
FAQ
How do I interpret the DFMA line color? The DFMA line turns green when the average of all Fibonacci MAs is higher than the 233-period MA and red when it is lower, helping to visualize the immediate trend direction relative to a long-term baseline.
What do the different line thicknesses represent? The thickest line is the DFMA (the consensus average), while the medium-thickness white lines represent the shortest (3) and longest (233) Fibonacci periods to define the range of the ribbon.
How do I access this indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
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.

