LowestPeriod(SeriesCollection,Int32) Method
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
'Declaration Public Overloads Shared Function LowestPeriod( _ 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.LowestPeriod(sc, noOfDays)
public static SeriesCollection LowestPeriod( 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 low calculated for the most recent trading period, the second term is the low for the previous trading period and so on.
Exceptions
Exception | Description |
---|---|
System.ArgumentException | Thrown if the series has strictly negative elements or if the noOfDays argument is greater then the length of prices array. |
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