Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MovingAverage.MovingAverageKind Property

Determines whether to display a Moving Average, Envelope, or both.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public MovingAverageKind MovingAverageKind { get; set; }

#Property Value

Type Description
MovingAverageKind

A MovingAverageKind enumeration value.

Available values:

Name Description
MovingAverage

Only the Moving Average is shown.

KindMovingAverage

Envelope

Only the Envelope is shown.

KindEnvelope

MovingAverageAndEnvelope

Both the Moving Average and Envelope are shown.

KindMovingAverageAndEnvelope

#Remarks

Use the MovingAverageKind property, to define the kind of a Moving Average technical indicator.

Kind = MovingAverage Kind = MovingAverageAndEnvelope Kind = Envelope
KindMovingAverage KindMovingAverageAndEnvelope KindEnvelope

When the MovingAverageKind property is specified, you can adjust the Envelope options via the Indicator.LineStyle, MovingAverage.EnvelopePercent and MovingAverage.PointsCount properties.

To learn more on Moving Average, see Moving Average and Envelope.

See Also