- Indexing Direction in Arrays, Buffers and Timeseries
- Organizing Data Access
- SeriesInfoInteger
- Bars
- BarsCalculated
- IndicatorCreate
- IndicatorParameters
- IndicatorRelease
- CopyBuffer
- CopyRates
- CopySeries
- CopyTime
- CopyOpen
- CopyHigh
- CopyLow
- CopyClose
- CopyTickVolume
- CopyRealVolume
- CopySpread
- CopyTicks
- CopyTicksRange
- iBars
- iBarShift
- iClose
- iHigh
- iHighest
- iLow
- iLowest
- iOpen
- iTime
- iTickVolume
- iRealVolume
- iVolume
- iSpread
iLowest
Returns the index of the smallest value found on the corresponding chart (shift relative to the current bar).
int iLowest(
|
Parameters
symbol
[in] The symbol, on which the search will be performed. NULL means the current symbol.
timeframe
[in] Period. It can be one of the values of the ENUM_TIMEFRAMES enumeration. 0 means the current chart period.
type
[in] The identifier of the timeseries, in which the search will be performed. Can be equal to any value from ENUM_SERIESMODE.
count=WHOLE_ARRAY
[in] The number of elements in the timeseries (from the current bar towards index increasing direction), among which the search should be performed.
start=0
[in] The index (shift relative to the current bar) of the initial bar, from which search for the lowest value begins. Negative values are ignored and replaced with a zero value.
Return Value
The index of the lowest value found on the corresponding chart (shift relative to the current bar) or -1 in case of an error. For error details, call the GetLastError() function.
Example:
double val;
|