fixnan
Replaces na values with the last non-na value of the series.
fixnan(x: any) -> series any
Parameters
xany: A series that has na on some bars.
Example
lastPivot = fixnan(ta.pivothigh(high, 5, 5))
Replaces na values with the last non-na value of the series.
fixnan(x: any) -> series any
x any: A series that has na on some bars.lastPivot = fixnan(ta.pivothigh(high, 5, 5))