SMA
A simple moving average gives every price in its window equal weight.
An SMA of closing prices adds them together and divides by their count. A longer window smooths more short-term changes. Because it includes older prices, the line reacts after a sudden price turn.