Skip to content
Algo Trade Analytics Docs

ta.max() - Pine Script Function

Returns the all-time high value of source from the beginning of the chart up to the current bar.

ta.max(source) → series float
NameTypeDescription
sourceseries int/floatSource used for the calculation.
  • na