Could you post a complete correct code for it?
I only plot just MA not SSA line.