Functions
talib.pivotlow()
The low-side counterpart to `talib.pivothigh`: a bar that stands below `leftBars` bars on one side and `rightBars` on the other. `source` is optional here too.
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
//@lipi=2
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)