See Also

FinancialEngine Class  | FinancialEngine Members  | Overload List

Language

Visual Basic

C#

Show All

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
An series of length equal or greater to the number of periods considered in the indicator evaluation where the first element is the closing price in the last trading period, the second term is the closing price in the previous trading period and so on.
noOfDays
The number of days before to which the closing price is compared.
See Also Languages dotnetCHARTING Send comments on this topic.

MomentumPercent(String,Series,Int32) Method

We calculate the momentum pergentage over a given period.

[Visual Basic]
Overloads Public Shared Function MomentumPercent( _    ByVal seriesName As String, _    ByVal s As Series, _    ByVal noOfDays As Integer _ ) As Series
[C#]
public static Series MomentumPercent(    string seriesName,    Series s,    int noOfDays );

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
An series of length equal or greater to the number of periods considered in the indicator evaluation where the first element is the closing price in the last trading period, the second term is the closing price in the previous trading period and so on.
noOfDays
The number of days before to which the closing price is compared.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if the given series has strictly negative elements or if the noOfDays argument is greater then the length of prices array.

See Also

FinancialEngine Class  | FinancialEngine Members  | Overload List

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.