Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function AveragePrice( _ ByVal sc As SeriesCollection _ ) As SeriesCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static SeriesCollection AveragePrice( SeriesCollection sc ) |
Parameters
- sc
- A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
The Average price is just the average of the High, Low, Open and Close of each of the trading
periods ranges, where the period considered will generally a day, however the Average price is equally
applicable to other time spans and hence the period considered could be (for example) a month or year.