Plotting Moving Average

Hello,
Can you provide a reprex of your issue ? This would make it easier to help you.