Moving Average is a moving average trendline used in financial charts. It analyzes data points by creating series of averages of various subsets of the complete data set.
In FinancialChart, you can create an instance of the MovingAverage class, and set the Type property to any of the following values from the MovingAverageType enumeration:
You can set the ChartType property to specify the chart type for the moving average. The property accepts values from the FinancialChartType enumeration. For more details on chart types, refer to Financial Chart Types.
In addition, you can use the DataSource and the Period property to specify the data source and the period of the moving average respectively. Once you have set the properties, add the moving average to the Series collection.