True ATH/ATL w/ labels

Plots the All Time High and All Time Low, with optional labels when a new ATH / ATL is created. Reaches all the way back in history for the true high/low, not limited to the most recent 5000 candles like most scripts. Works on all time frames.

Release Notes:
  • Show distance in percent from current price.
  • Draw dividing lines between ATH and ATL.

The optional dividing lines provide good support and resistance targets. Works on all time frames and instruments, but particularly rangy stocks.
Release Notes: (Update example chart to remove stray drawings)
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?