talib.highest
The highest value source reached in the last length bars.
Any series can be passed, so this is not limited to the bar’s high.
talib.highest(series float source, series int length) → series float| Parameter | Type | Required | Description |
|---|---|---|---|
source | series float | yes | The series to search. |
length | series int | yes | How many bars the search covers. |
Returns series float — A series float: the highest value found.
indicator("Highest high of 20 bars")
plot(talib.highest(high, 20))See also talib.alma · talib.atr · talib.barssince
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.