SMA: check the arithmetic and the window
A simple moving average gives equal weight to the selected window. For hypothetical closes 10, 11, and 12, a three-bar SMA is 11. When the next close is 13, the window becomes 11, 12, 13 and the SMA is 12. The change follows the rolling data. It is not evidence that the average predicted the next price.