lowest_bars

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.lowest_bars(source: ArrayLike, period: int = 30) -> np.ndarray

How many bars ago the lowest value of the last period bars was, 0 for the current bar.

Parameters

NameTypeDefault
sourceArrayLike
periodint30

Indicator: Bars since the lowest

When two bars share the lowest value, the more recent one counts.