Closed: How can I calculate the SMA manually?

Closed: How can I calculate the SMA manually?

To calculate the SMA manually, sum up the closing prices of an asset over the specified period and then divide the sum by the number of periods.

Repeat this calculation for each data point to create the SMA line.