OPEN-SOURCE SCRIPT

1-Year High/Low Mean (Daily Anchored)

527
This indicator calculates the highest high and lowest low over the past year using daily candles, then plots the mean (midpoint) between those two levels. The result is a clean, stable structural reference line that helps traders understand where current price sits within its yearly range.

What It Shows
  • 1‑Year High – the highest daily high over the lookback period
  • 1‑Year Low – the lowest daily low over the same period
  • 1‑Year Mean – the midpoint between the yearly high and low

These levels provide a long‑term framework for evaluating trend strength, momentum, and potential mean‑reversion behavior.

Designed for the Daily Timeframe
This indicator is intentionally built for the daily timeframe and higher.
All calculations are anchored to daily data, ensuring consistent and accurate yearly levels.
It does not display on intraday charts to avoid confusion caused by limited intraday history.

Features
  • Daily‑anchored yearly high, low, and mean
  • Adjustable lookback period (default: 365 days)
  • Optional display of the dates where the yearly high and low occurred
  • Clean, minimal, structure‑focused design


Intended Use
Ideal for traders who want a simple, reliable way to visualize long‑term price structure.
Pairs well with trend‑following systems, breakout strategies, and mean‑reversion setups.

Future versions may include shaded zones, alerts, multi‑year modes, or additional structural tools depending on community interest.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.