Functions
talib.pivotlow()
This function returns price of the pivot low point. It returns 'NaN', if there was no pivot low point.
Syntax
talib.pivotlow(series float source, series int leftBars, series int rightBars) → series float
Arguments
source series float An optional parameter. Data series to calculate the value. 'Low' by default. leftBars required series int Left strength. rightBars required series int Right strength. Return Type
series float Example
indicator("Pivot Lows", overlay=true)
leftBars = input(5, "Left Bars")
rightBars = input(5, "Right Bars")
pivotLow = talib.pivotlow(low, leftBars, rightBars)
plot(pivotLow, style=plotStyle.cross, color=color.green, title="Pivot Lows", offset=-rightBars)