Moving Average Panel
Nov 15, 2021

The Moving Average Panel tool provides a real-time visual summary of multiple moving average types and lengths to identify trend alignment across various time horizons. It aggregates the slope of various moving averages into a single, customizable table to help traders quickly screen market conditions without cluttering their price charts.
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 Screening: Users can instantly identify if a specific asset is in a broad bullish or bearish trend by looking for color coordination across the panel. If the majority of cells are green, it indicates that most moving averages are currently increasing (sloping upward).
- Timeframe Convergence: By using multiple lengths (e.g., 5, 20, 50, 200), traders can spot "confluences" where both short-term momentum and long-term trends align.
- Table Layout: The table can be positioned in different corners of the chart or centered. For users on mobile devices, the "Mobile Friendly" toggle simplifies the view to fit smaller screens.
- Customization: If a trader only uses EMAs and SMAs, they can disable all other moving average types in the settings to keep the table concise.
Details
The Moving Average Panel calculates the state of up to 11 different moving average types across 10 customizable lengths. The core logic determines the "state" of an average by comparing its current value to its value on the previous bar. If the current value is higher or equal, the cell is assigned the "Bull" color; if lower, it is assigned the "Bear" color.
Supported Moving Average types include:
- Simple Moving Average (SMA)
- Exponential Moving Average (EMA)
- Running Moving Average (RMA)
- Weighted Moving Average (WMA)
- Volume Weighted Moving Average (VWMA)
- Hull Moving Average (HMA)
- Ehmas Moving Average (EHMA)
- Triple Exponential Moving Average (TEMA)
- Least Squares (Linear Regression)
- Tillson T3
- Arnaud Legoux Moving Average (ALMA)
Note: The script requires a sufficient number of bars to calculate longer-period averages. If insufficient data is available for a specific calculation, the indicator defaults to the bearish state.
Settings
General Settings
- Source: The price data used for all calculations (default is Close).
- Table Position: Sets the vertical (top, middle, bottom) and horizontal (left, center, right) placement of the panel.
- Mobile Friendly: When enabled, scales the table for better visibility on mobile devices.
Moving Average Toggles
- SMA/EMA/RMA/etc. On: Individual checkboxes to enable or disable specific moving average types in the table rows.
Color Settings
- Bull/Bear/Neutral Color: Customizes the background colors for increasing, decreasing, or neutral states.
Length Settings
- Length 1-10: Checkboxes and input fields to define the lookback periods (e.g., 5, 9, 20, 50, 200) for the table columns.
Special MA Settings
- Least Squares Offset: Adjusts the offset for the Linear Regression calculation.
- Tillson T3 Volume Factor: Controls the damping factor for the T3 calculation.
- ALMA Offset/Sigma: Parameters to adjust the smoothness and responsiveness of the Arnaud Legoux Moving Average.
FAQ
How do I interpret the colors in the table? A green cell (or your chosen "Bull" color) signifies that the moving average for that specific type and length is currently sloping upwards compared to the previous bar. A red cell signifies it is sloping downwards.
Can I remove specific moving averages or lengths I don't use? Yes, you can toggle off any of the 11 moving average types or the 10 length columns within the settings menu to create a cleaner, more focused panel.
How can I access the Moving Average Panel? 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.

