Simplified plotLine function. Plotted all moving average lines