ta.pivotlow
Pivot low price, reported rightbars bars after the pivot (when it is confirmed), otherwise na. The pivot bar must be strictly lower than the leftbars bars before it and not higher than the rightbars bars after it. With two arguments the source is low.
ta.pivotlow(source: float, leftbars: simple int, rightbars: simple int) -> series float
ta.pivotlow(leftbars: simple int, rightbars: simple int) -> series float
Parameters
sourcefloat: The values to look for a pivot in. Leave it out (ta.pivotlow(leftbars, rightbars)) to use low.leftbarssimple int: Bars before the pivot that must all be strictly higher; a literal or an input, 0 or more.rightbarssimple int: Bars after the pivot that must not be lower; the pivot is reported this many bars late. A literal or an input, 0 or more.
Example
pl = ta.pivotlow(low, 5, 5)