Evaluates the Average Price for each periods of a collection of periods.
Syntax
Parameters
- seriesName
- The name of the series which will be displayed on the chart, i.e. its label.
- s
- A financial series, where the first element is the traded price on the most recent period,
the second element is the traded price of the previous periods and so on, for the asset under
consideration.
Return Value
A series where the first element is the Average Price of the asset on the most recent
period considered, the second term is the Average Price on the period before that and so on.
Exceptions
Exception | Description |
ArgumentException | Thrown if the High , Low , Open ,
Close are strictly negative. |
Remarks
See Also