highest
Highest value of series over the last length bars.
Reference/Math & comparisons/Function
highest(series, length)
Both arguments are required. Building block for Donchian and breakouts.
Parameters
| Name | Type | Description |
|---|---|---|
series | series | Usually high. |
length | int default 14 | Lookback in bars. Default 14. |
Return value
series
Example
h = highest(high, 20) plot h as "Highest high"