.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > AveragePrice Method : AveragePrice(SeriesCollection) Method
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.
AveragePrice(SeriesCollection) Method
Evaluates the Average Price for each periods of a collection of periods.
Syntax
'Declaration
 
Public Overloads Shared Function AveragePrice( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
'Usage
 
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.AveragePrice(sc)
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.
Remarks
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also