Multi Movings Averages
Feb 12, 2017

The Multi Movings Averages indicator allows users to plot up to ten customizable moving averages on a single chart to identify trend direction and dynamic support or resistance levels across various time horizons.
Usage
The Usage section describes how the script can be used to streamline technical analysis by consolidating multiple trend lines into a single tool.
- Trend Analysis: By plotting multiple averages (e.g., 9, 20, 50, and 200), traders can identify the strength and direction of a trend. A "fan" or "stacking" effect where short-term averages are above long-term ones typically indicates a strong bullish trend.
- Dynamic Support and Resistance: Different moving average periods often act as floor or ceiling levels for price action. This script allows for the simultaneous monitoring of up to 10 such levels.
- Customizable Visibility: Users can use the "Number of moving averages" setting to display only the necessary amount of lines, preventing chart clutter.
- Alerting: The script includes built-in alert triggers that notify the user when the price crosses above or below the first defined moving average.
Details
This tool, based on original concepts by @alexgrover, provides a centralized interface for managing multiple moving average calculations. It computes either Simple Moving Averages (SMA) or Exponential Moving Averages (EMA) based on a user-selected source and period.
The script utilizes a conditional plotting logic where only the number of averages specified by the user is rendered on the chart. While the calculation type (SMA vs. EMA) is applied globally to all active lines, each of the ten averages has an independent period setting to accommodate different trading strategies.
Settings
- Source: Defines the price data used for the calculations (e.g., Close, Open, HL2).
- Number of moving averages on chart: A slider or input (1-10) that determines how many moving average lines are visible.
- Use EMA: A toggle that switches the calculation method from Simple Moving Average (SMA) to Exponential Moving Average (EMA).
- Period 1 - 10: Individual inputs to set the lookback length for each of the ten available moving averages.
FAQ
What is the difference between the SMA and EMA settings in this tool? The SMA (Simple Moving Average) calculates the unweighted mean of the price over a set period, while the EMA (Exponential Moving Average) gives more weight to recent prices, making it more responsive to new market information.
How many moving averages can I display at once? You can display a minimum of one and a maximum of ten moving averages simultaneously by adjusting the "Number of moving averages on chart" setting.
How do I get access to Multi Movings Averages? 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.

