SOLVED: What is the formula for calculating the SMMA?

The formula for calculating the SMMA involves summing up the closing prices over a specified period and then dividing the sum by the period.

The result is then smoothed by applying a smoothing factor to give more weight to recent prices.