ta.pivotlow()
Pivot Low
Returns the price of a pivot low point. It returns NaN if there was no pivot low point.
Syntax
ta.pivotlow(source, leftbars, rightbars) → series floatArguments
| Parameter | Type | Description |
|---|---|---|
| source | series int/float | Series used to detect the pivot (often low). |
| leftbars | series int/float | Bars to the left that must be higher. |
| rightbars | series int/float | Bars to the right that must be higher. |
Returns
Price of the point or NaN.
Remarks
A pivot is confirmed only after rightbars complete; most bars return na until the pattern validates.
Code Examples
//@version=6
indicator("pivotlow", overlay=true)
plot(ta.pivotlow(low, 5, 5), style=plot.style_circles, offset=-5)Trading Applications
Identify swing low points for support levels
Build support detection systems
Create trendline drawing from swing lows
Use for double bottom pattern recognition
Related Functions
Frequently Asked Questions
Generate ta.pivotlow() Code with AI
Skip the manual coding. Use Pineify's AI Coding Agent to generate Pine Script code using ta.pivotlow() and other built-in functions instantly.
Related Pine Script Functions
ta.pivothigh() - Pivot High
Learn how to use ta.pivothigh() in Pine Script. Detect swing high pivot points for resistance levels.
ta.lowest() - Lowest Value
Learn how to use ta.lowest() in Pine Script. Find the lowest value over a lookback period.
ta.lowestbars() - Lowest Bars Offset
Learn how to use ta.lowestbars() in Pine Script. Find how many bars ago the lowest value occurred.
ta.pivot_point_levels() - Pivot Points
Learn how to use ta.pivot_point_levels() in Pine Script. Calculate traditional pivot point support and resistance levels.
ta.falling() - Falling
Learn how to use ta.falling() in Pine Script. Test if a series is consistently falling over a given period.