lowest
Syntax Format
The syntax format can be of two types:
lowest(series, n)
lowest(n)
Overview
The lowest
function provides the lowest value of the given series type within a specified period. This function is usually used in the scripts, which determine the lowest price value in the past to identify the oversold state of an asset and spot potential trend reversals.
Parameters
Parameter | Type | Purpose |
---|---|---|
series | series | Input series, taken into calculation |
n | integer | Period to look back into the history |
Returns: series
.
Example
lowest_value = lowest(close, 14)
If the series type is not specified, the low
series is used:
lowest_value = lowest(low, 14)