# 52 Week High/Low

52 Week High/Low is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Plots horizontal lines at the highest high and lowest low reached over the trailing 52 weeks, updating as new data extends or resets those extremes. A toggle additionally displays the all-time high and low of the available price history. This is a straightforward, standard implementation of 52-week extreme levels.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Apr 13, 2020.
- Access: free.
- Concepts: [All-time & 52-week Extremes](https://www.luxalgo.com/library/concept/all-time-and-52-week-extremes/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cyp7928dfypmu48hgm47xkpn
- Page: https://www.luxalgo.com/library/indicator/52-week-high-low/

The **52 Week High/Low** plots horizontal levels at the highest high and lowest low of the trailing 52 weeks, keeping a yearly reference frame on the price chart. The lines update as new extremes print or as old ones expire from the rolling window, and an optional toggle adds the all-time high and low. Because the levels are requested from weekly data, they read the same on any chart timeframe, and the build keeps them deliberately plain: nothing is filtered or projected beyond the natural roll of the window.

## How to Trade the 52 Week High/Low?

- **First test of the 52 Week High**: a level that capped price for a full year rarely gives way on the first attempt. Look for rejection wicks or a stall before assuming continuation.
- **Close above the 52 Week High**: trailing-year strength; breakout traders watch for the broken level to hold as support on a retest.
- **Close below the 52 Week Low**: the mirror read, with the broken low acting as resistance if price recovers to it.
- **Level steps without new trade**: the 52 Week High line can step down simply because an old peak expired from the rolling window. An aging extreme, not fresh selling pressure.
- **All-Time High breaks**: with the toggle enabled, a push beyond the record leaves no layer of sellers above, so discovery there often behaves unlike an ordinary breakout.

Two alert conditions ship with the build, New 52 Week High and New 52 Week Low, firing when the close crosses the prior bar's level.

## 52 Week High/Low Settings

- **Show All-Time High/Low** (default disabled): adds the All-Time High and All-Time Low across the bars loaded on the chart, which match the true record only when that history reaches back far enough (typically on daily or higher timeframes), useful for separating yearly highs from genuine record territory.

Beyond that toggle the indicator is parameter-free: the 52-week window is fixed by definition, and the remaining inputs only set the colors of the plotted levels.

## Frequently Asked Questions

### What is the difference between the 52 week high and the all-time high?

The all-time high is the most extreme print on record and can never move down. The 52 week high is a rolling extreme that can slip lower as earlier peaks fall out of the trailing year: a market can keep printing fresh 52-week highs while trading far beneath its record.

### Does the indicator work on intraday charts?

Yes. The extremes are computed from weekly bars regardless of the chart timeframe, so the lines are consistent everywhere and update as the current weekly bar develops.

### How should I combine the 52 Week High/Low with other tools?

The lines say where a reaction is likely, not how it will resolve. Pair them with volume expanding on the break, a momentum oscillator confirming strength, or a clean retest that holds, rather than treating a touch as an entry by itself.

## Related indicators

- [All Time High (ATH) Levels](https://www.luxalgo.com/library/indicator/all-time-high-ath-levels/) (All-time & 52-week Extremes): markdown at https://www.luxalgo.com/library/indicator/all-time-high-ath-levels.md
- [ATH/ATL Tracker](https://www.luxalgo.com/library/indicator/ath-atl-tracker/) (All-time & 52-week Extremes): markdown at https://www.luxalgo.com/library/indicator/ath-atl-tracker.md
- [Average Daily Range](https://www.luxalgo.com/library/indicator/average-daily-range/) (Period Opens): markdown at https://www.luxalgo.com/library/indicator/average-daily-range.md
- [Previous Highs & Lows](https://www.luxalgo.com/library/indicator/previous-highs-lows/) (Prior Period Levels): markdown at https://www.luxalgo.com/library/indicator/previous-highs-lows.md
- [VWAP Periodic Close](https://www.luxalgo.com/library/indicator/vwap-periodic-close/) (Anchored VWAP As Level): markdown at https://www.luxalgo.com/library/indicator/vwap-periodic-close.md
- [HTF Candle Projections](https://www.luxalgo.com/library/indicator/htf-candle-projections/) (Prior Period Levels): markdown at https://www.luxalgo.com/library/indicator/htf-candle-projections.md
- [Naked POC](https://www.luxalgo.com/library/indicator/naked-poc/) (Naked POC As Level): markdown at https://www.luxalgo.com/library/indicator/naked-poc.md
- [Breakout Detector (Previous MTF High Low Levels)](https://www.luxalgo.com/library/indicator/breakout-detector-previous-mtf-high-low-levels/) (Prior Period Levels): markdown at https://www.luxalgo.com/library/indicator/breakout-detector-previous-mtf-high-low-levels.md

---

Source: https://www.luxalgo.com/library/indicator/52-week-high-low/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
