The Simple Moving Average (SMA) derives the average price of a security over a specified time frame, constantly updating as new data enters while discarding the oldest set. Unlike a basic average, where all past prices hold equal weight, SMA considers only the most recent data within its designated timeframe, such as the last 10…