Returns the Median Moving Average of a given period of the data series provided for all
possible periods for the data given.
Syntax
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 Value
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
Exception | Description |
ArgumentException | Thrown if the series highSeries and lowSeries are of
different lengths or if one of these arrays is empty. |
See Also