Lipi Reference Lipi

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 Optional. The series to search for pivots.
leftBars required series int How many bars are required on the left of the candidate.
rightBars required series int How many bars are required on the right of the candidate.

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)