ta.min()Min
Returns the lowest value of one source from the start of the loaded chart history through the current bar. This is a cumulative minimum.
Syntax
ta.min(source) → series floatArguments
| Parameter | Type | Description |
|---|---|---|
| source | series int/float | Series whose running minimum is required. |
Returns
Minimum of source across the available history up to the current bar.
Remarks
The result depends on the loaded history and need not be the instrument lifetime low. It is not limited to the visible chart range.
Code Examples
//@version=6
indicator("ta.min")
plot(ta.min(close), title="Running lowest close")Trading Applications
Track the running minimum of a source series
Compare the current source with its loaded-history low
Distinguish a cumulative low from a rolling-window low
Frequently Asked Questions
Generate ta.min() Code with AI
Draft Pine Script using ta.min() with Pineify's AI Coding Agent, then review the arguments and test the result on your chart. Usage depends on your plan and available credits.
Related Pine Script Functions
ta.max() - Max
Learn how to use ta.max(source) in Pine Script. Return the running maximum across available chart history.
ta.lowest() - Lowest Value
Learn how to use ta.lowest() in Pine Script. Find the lowest value over a lookback period.
ta.range() - Range
Learn how to use ta.range() in Pine Script. Calculate the price range (highest minus lowest) over a period.
ta.pivotlow() - Pivot Low
Learn how to use ta.pivotlow() in Pine Script. Detect swing low pivot points for support levels.
ta.atr() - Average True Range
Learn how to use ta.atr() in Pine Script. Syntax, parameters, code examples for the Average True Range volatility indicator.