added MA to ggplot graph