lowest_bars
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.lowest_bars(source: ArrayLike, period: int = 30) -> np.ndarrayHow many bars ago the lowest value of the last period bars was, 0 for the current bar.
Parameters
| Name | Type | Default |
|---|---|---|
| source | ArrayLike | |
| period | int | 30 |
Indicator: Bars since the lowest
When two bars share the lowest value, the more recent one counts.