How to remove line created with AddMovingAverage?

How do I reset the chart so the average line will be removed, or, how can I remove the average line after adding it with chart.panes[0].AddMovingAverage(....);

Hi, 

The chart adds a new series, so you will need to remove the series at the index depending on the place where you called AddMovingAverage.

Kind Regards, 
Pieter