.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > Momentum Method : Momentum(SeriesCollection,Int32) 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.
The number of days before to which the closing price is compared.
Momentum(SeriesCollection,Int32) Method
We evaluate the n-day momentum which is simply the difference between today's closing price and the close price n days ago, for all days for which sufficient historical data is given.
Syntax
'Declaration
 
Public Overloads Shared Function Momentum( _
   ByVal sc As SeriesCollection, _
   ByVal noOfDays As Integer _
) As SeriesCollection
'Usage
 
Dim sc As SeriesCollection
Dim noOfDays As Integer
Dim value As SeriesCollection
 
value = FinancialEngine.Momentum(sc, noOfDays)
public static SeriesCollection Momentum( 
   SeriesCollection sc,
   int noOfDays
)

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.
noOfDays
The number of days before to which the closing price is compared.

Return Value

A series where the first term is the momentum for the most recent trading period, the second term is the momentum for the previous trading period and so on.
Exceptions
ExceptionDescription
Thrown if either parameter is strictly negative.
Remarks
The Momentum indicator as the name suggests is the velocity with which the price is rising or falling, and hence will reflect how aggressively the asset is being purchased or sold.

Remark: Extended values and/or turning points of the momentum are good indicators of oversold or over brought conditions(respectively).

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