'MS candlestick chart, How to remove the shading below the moving average?

I have a c# windows forms project with a candlestick chart.

I can plot a moving average over the candles using the following code.

chart1.DataManipulator.FinancialFormula(FinancialFormula.MovingAverage, "15", "Candles", "MA"); chart1.DataManipulator.IsStartFromFirst = true;

The chart shows the moving average (MA) line with shading from the MA line to the bottom of the chart (see picture).

Question 1. How do I show the MA line without the shading?

Question 2. Is it possible to plot a second moving average line on the same chart?

Example of the line with shading



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source