UtilityPine Script v6

ta.lowest()

Lowest Value

Lowest value for a given number of bars back.

Syntax

Syntax
ta.lowest(source, length) → series float

Arguments

ParameterTypeDescription
sourceseries int/floatSeries to scan.
lengthseries intLookback length.

Returns

Lowest value in the series.

Remarks

na values in the source series are ignored.

Code Examples

Pine Script v6 Example
//@version=6
indicator("ta.lowest")
plot(ta.lowest(low, 20), title="20-bar lowest low")

Trading Applications

Find the lowest price over a lookback period

Build Donchian Channel lower band

Create support level detection

Calculate drawdown from highest point

Frequently Asked Questions

Generate ta.lowest() Code with AI

Skip the manual coding. Use Pineify's AI Coding Agent to generate Pine Script code using ta.lowest() and other built-in functions instantly.