dotnetCHARTING Send comments on this topic.
LowestPeriod(Series,Int32) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > LowestPeriod Method : LowestPeriod(Series,Int32) Method


s
An series 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.
Returns an array which contains the lower lows values of prices array within a given period considering a look back period of n days.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function LowestPeriod( _
   ByVal s As Series, _
   ByVal noOfDays As Integer _
) As Series
Visual Basic (Usage)Copy Code
Dim s As Series
Dim noOfDays As Integer
Dim value As Series
 
value = FinancialEngine.LowestPeriod(s, noOfDays)
C# 
public static Series LowestPeriod( 
   Series s,
   int noOfDays
)

Parameters

s
An series 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.

Return Value

A series where the first term is the low calculated for the most recent trading period, the second term is the low for the previous trading period and so on.

Exceptions

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

See Also

© 2018 All Rights Reserved.