OPEN-SOURCE SCRIPT

ATH/ATL/Days

346
This indicator displays the All-Time High (ATH) and All-Time Low (ATL) — or more precisely, the highest and lowest price within the last N days. It works on any timeframe and uses only local chart data (no security() calls), ensuring stable and accurate results.

It plots horizontal lines for both the ATH and ATL and includes a clean, compact table showing:

Date of the extreme

Days since it occurred

Price

% distance from current price

$ distance from current price

A reliable tool for identifying local extremes, spotting market structure shifts, and tracking short-term price ranges.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。