Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Charting Basics
    [Expand]Professional Charting
    [Expand]Series Views
    [Collapse]Chart Elements
     [Collapse]Series
      [Collapse]Indicators
       [Expand]Simple Indicators
        Fibonacci Indicators
        Moving Average and Envelope
        Oscillator Indicators
        Trend Indicators
        Price Indicators
        Error Bars
       Series Points
       Series Point Labels
       Total Labels
       Series Titles
     [Expand]Diagram
      Chart Titles
     [Expand]Legends
     [Expand]Annotations
   [Expand]Providing Data
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Moving Average and Envelope

This document describes the Moving Average (Envelope) indicator used in financial charting.

For a 2D XY-series, whose SeriesBase.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, accessible via the XYDiagram2DSeriesViewBase.Indicators property.

To select whether to show a Moving Average, Envelope or both, use the MovingAverage.Kind property.

The property value

The resulting image

MovingAverage.Kind = MovingAverage

MovingAverage.Kind = MovingAverageAndEnvelope

MovingAverage.Kind = Envelope

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

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

Expanded See Also

How would you rate this topic?​​​​​​​