XtraChartsIndicatorCollectionExtensions.AddSimpleMovingAverage(IndicatorCollection, Action<SimpleMovingAverage>) Method

Adds a new Simple Moving Average indicator configured using the specified method to the specified indicators collection of a series.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public static void AddSimpleMovingAverage(
    this IndicatorCollection collection,
    Action<SimpleMovingAverage> indicatorAction
)

Parameters

Name Type Description
collection IndicatorCollection

A collection of indicators to which a new indicator will be added.

indicatorAction Action<SimpleMovingAverage>

A delegate method configuring a SimpleMovingAverage object.

Remarks

Note

This method is an extension method.

See Also