Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Providing Data
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Collapse]Visual Elements
      Chart Area
      Chart Title
      Secondary Axis
      Axis Title
      Axis Labels
      Custom Axis Label
      Axis Tickmarks
      Constant Line
      Constant Line Title
      Grid Lines
      Series Point
      Series Point Marker
      Series Point Label
      Series Title
      Legend Marker
      Legend Check Box
      Trend Lines
      Regression Lines
      Moving Average and Envelope
      Fibonacci Indicators
      Oscillator Indicators
      Price Indicators
      Error Bars
      Scale Breaks
      Total Labels
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Moving Average and Envelope

This document provides a brief overview of the Moving Average and the Envelope technical indicators that are used in financial charting.

Moving Average and Envelope are represented by the MovingAverage class descendants. The MovingAverage.MovingAverageKind property defines whether they represent a Moving Average, an Envelope or both.

Along with other indicators (Regression Lines, Trend Lines and Fibonacci Indicators), Moving Averages and Envelopes reside in the XYSeries2D.Indicators collection of an XYSeries2D.

For an XYSeries2D whose Series.ArgumentScaleType is DateTime, you can show any number of Moving Averages (and/or Envelopes) of the following kinds:

To show the indicator for a series, add the required MovingAverage class descendant to the series' collection of indicators, which are accessible via the XYSeries2D.Indicators property.

For each Moving Average, you should specify the following two properties:

Note that all of the chart's indicators are painted based on a palette defined via the ChartControl.IndicatorsPalette property.

The table below lists the main properties that affect the element's functionality and appearance.

Expanded See Also

Is this topic helpful?​​​​​​​