See Also

StatisticalEngine Class  | StatisticalEngine Members  | Overload List

Language

Visual Basic

C#

Show All

sc
A colection of two series: a series where the elements corresponds to the highest recorded values and a series where the elements corresponds to the lowest recorded values.
lengthOfMA
The number of periods considered within the evaluation of the moving average of each of the days on which it can be evaluated.
See Also Languages dotnetCHARTING Send comments on this topic.

MedianMovingAverage(SeriesCollection,Int32) Method

Returns the Median Moving Average of a given period of the data series provided for all possible periods for the data given.

[Visual Basic]
Overloads Public Shared Function MedianMovingAverage( _    ByVal sc As SeriesCollection, _    ByVal lengthOfMA As Integer _ ) As Series
[C#]
public static Series MedianMovingAverage(    SeriesCollection sc,    int lengthOfMA );

Parameters

sc
A colection of two series: a series where the elements corresponds to the highest recorded values and a series where the elements corresponds to the lowest recorded values.
lengthOfMA
The number of periods considered within the evaluation of the moving average of each of the days on which it can be evaluated.

Return Type

A series where the first term is the value of the Median Moving Average for the most recent period, the second term is the value of the Median Moving Average for the previous period and so on.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if the series highSeries and lowSeries are of different lengths or if one of these arrays is empty.

See Also

StatisticalEngine Class  | StatisticalEngine Members  | Overload List

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.