Skip to content
Algo Trade Analytics Docs

ta.highest() - Pine Script Function

Highest value for a given number of bars back.

ta.highest(source, length) → series float
NameTypeDescription
sourceseries int/floatSeries of values to process.

Highest value in the series.

  • Two args version: source is a series and length is the number of bars back.