Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

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