Knowledge Base/What is a Simple Moving Average (SMA)?

What is a Simple Moving Average (SMA)?

Simple Moving Average (SMA) is a technical indicator that calculates the average price of a security over a specified period of time.

It is useful for determining if an asset will continue or reverse its current trend. The SMA is customizable as you can adjust it for different number of time periods. For example, a 10-day SMA would be calculated by summing prices over the last ten daily-aggregates (including the current day) and dividing that value by 10. This window corresponds to the timespan of the underlying aggregates. So if a user requests SMA data and specifies a timespan of “minute”, and a window of 20, each value will be calculated using prices from the previous 20 minute aggregates, including the current one.


Was this article helpful?

https://cdn.sanity.io/images/dhlwe0i3/content/5c0778a9628b11955327f4c7b96b2025589ee7df-32x32.svgJoin us on Slack

Enter your email for an invite to our slack community!

https://cdn.sanity.io/images/dhlwe0i3/content/70ffe6ec85723f74679004a0a6bbdf66ce1fb58f-592x256.png

Modernizing Wall St.

Reimagining financial market data for the 21st century.

About Polygon

Recommended

Can’t find the answer you’re looking for? Contact our team.