3 Smoothed Moving Average

Feb 16, 2018

Static chart image
Support and Resistance
Signals
Moving Averages

The 3 Smoothed Moving Average indicator plots three distinct smoothed moving averages to help traders identify long-term trend direction and momentum shifts while filtering out market noise.

Usage

The Usage section focuses on how the script provides visual and alert-based cues for trend analysis.

  • Trend Identification: By default, the indicator uses lengths of 60, 100, and 200. When the price remains above these lines and the shorter averages are above the longer ones, a strong uptrend is indicated. Conversely, when the price is below the lines and the averages are stacked in descending order, a downtrend is confirmed.
  • Support and Resistance: The smoothed nature of these averages makes them effective dynamic support and resistance levels. Traders often look for price retracements to these lines for potential entry opportunities.
  • Crossover Alerts: The script is optimized with alerts that trigger when the fast SMMA (Length 1) crosses the medium SMMA (Length 2), or when the medium SMMA crosses the slow SMMA (Length 3). These crossovers can signal potential trend reversals or trend continuations.

Details

The Smoothed Moving Average (SMMA) is a variation of the Exponential Moving Average (EMA) that provides a much smoother line by incorporating a longer-term lookback into its smoothing formula. It is calculated by first taking a Simple Moving Average (SMA) for the initial value, then applying the formula: SMMA = (Previous SMMA * (Length - 1) + Current Price) / Length.

Because the SMMA reacts more slowly to price changes than a standard SMA or EMA, it is particularly effective at reducing "whipsaws" (false signals) during volatile market conditions. This implementation allows for three independent SMMA calculations to be overlaid on the chart simultaneously. This script is a refactored version of the original work by @hamidsafi.

Settings

  • Length 1: Sets the lookback period for the first smoothed moving average (default: 60).
  • Source 1: Determines the price input (Close, Open, High, Low, etc.) for the first SMMA.
  • Length 2: Sets the lookback period for the second smoothed moving average (default: 100).
  • Source 2: Determines the price input for the second SMMA.
  • Length 3: Sets the lookback period for the third smoothed moving average (default: 200).
  • Source 3: Determines the price input for the third SMMA.

FAQ

How does the SMMA differ from a standard Simple Moving Average (SMA)? The SMMA applies a smoothing factor that gives it a much "flatter" appearance compared to an SMA of the same length. This makes it less susceptible to temporary price spikes, providing a clearer view of the underlying trend.

Can I change the colors of the lines? Yes, while the inputs control the logic, the visual styles including color, thickness, and line type can be modified in the "Style" tab of the indicator settings.

How do I access the 3 Smoothed Moving Average? 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
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

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.