Skip to main content

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