highest
forge.tafunctionSince Forge API 1
Functionpython
forge.ta.highest(source: ArrayLike, period: int = 30) -> np.ndarrayThe highest value of the last period bars, the current bar included.
Parameters
| Name | Type | Default |
|---|---|---|
| source | ArrayLike | |
| period | int | 30 |
A window that holds a missing value has no value. To compare a price with the highest of the bars before it, delay the result by one bar.
Classpython
forge.ta.Highest(**inputs: Any) -> NoneThe highest value over a number of bars.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| source | source | close | |
| period | int | 30 | 1 to 5000 |
The highest value of the last period bars, the current bar included. A window holding a missing value has no value. To compare a price with the highest of the bars before it, delay the result by one bar.