Simple Moving Average only considers number of data points and ignores dates

It’s intentional and was explicitly changed to be that way five years ago. German thread:

You could use a correspondingly shorter frame. SMA 50 might cover about one year in your case.