Skip to main content

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

ParameterTypePurpose
seriesseriesInput series, taken into calculation
nintegerPeriod 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)