OPEN-SOURCE SCRIPT
1-Year High/Low Mean (Daily Anchored)

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
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
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.
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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.