OPEN-SOURCE SCRIPT

Dual Smoothed Moving Averages

Dual Smoothed Moving Averages (SMMA)

Description:
This indicator plots two customizable Smoothed Moving Averages (SMMA) on your chart, allowing traders to analyze trends and price movements with greater flexibility. The SMMA is a variation of the moving average that smooths out price data more effectively, reducing noise and providing clearer signals for trend direction.

Features:
Two Independent SMMAs: Customize the length, source, and color for each SMMA to suit your trading strategy.
Overlay on Chart: The moving averages are plotted directly on the price chart for seamless analysis.
Dynamic Calculations: The recursive SMMA formula ensures accurate and adaptive smoothing of price data.
How to Use:
SMMA 1: Set the desired length and source (e.g., close, open, high) for the first moving average.
SMMA 2: Customize the second moving average with its own length and source.
Adjust the colors of each line to differentiate them visually.

This tool is ideal for trend-following strategies, crossover techniques, or identifying dynamic support and resistance levels. Whether you're a swing trader, scalper, or long-term investor, the Dual SMMA indicator offers powerful insights into market behavior.
Smoothed Moving Average (SMMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer