Open-source scriptindicator/v1
Smoothed Moving Average
Display Wilder-style smoothing that retains a longer memory of historical prices.
#moving-average#smma#trend
Description
The Smoothed Moving Average, also called RMA or SMMA, applies Wilder smoothing to reduce short-term noise. Its slower response can help analysts examine persistent trend direction and longer-lived support or resistance behavior.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedSmoothed Moving Average · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Smoothed Moving Average", { overlay: true });
const length = input.int("Length", 9, { min: 1, max: 500 });
const source = input.source("Source", "close");
plot(rma(source, length), { title: "SMMA", color: "#ff9800", lineWidth: 2 });
Community discussion
0 comments
No comments yet. Start the discussion.