52 Week Quarterly Previous Day High Low Mid52-Week High/Low, Quarterly High/Low (13-Week) & Previous Day High / Low / Mid
**A clean, all-in-one context indicator combining intraday reference levels and long-term high/low structure — built for traders who want key levels without cluttering the chart.**
---
🔹 What It Plots
1. Previous Day High / Low / Mid
Draws live, auto-updating horizontal lines at the prior trading day's high, low, and midpoint. These lines extend in real time as the current session develops, giving you an instant read on where price stands relative to yesterday's range — a level watched closely by intraday and swing traders alike for breakout, reversal, and mean-reversion setups.
2. 52-Week High / Low
Calculated from weekly data, this plots the true 52-week high and low (1-year lookback) — a level closely followed for breakout confirmation, momentum screens, and macro trend context. Choose whether the calculation uses candle highs/lows or closing prices to match your preferred definition of "range."
3. Quarterly High / Low (13-Week)
The same logic applied to a 13-week (one quarter) lookback, useful for spotting intermediate-term range breaks and consolidation zones that longer 52-week levels can miss.
4. Smart Merged Labels
Instead of stacking overlapping "YH," "QH," "YL," "QL" tags on top of each other when the yearly and quarterly levels converge, the indicator automatically merges them into a single clean "YH/QH" or "YL/QL" label — keeping your chart readable even when the two timeframes align.
---
🔹 Why Use It
Most traders juggle several separate indicators to track daily levels and long-term range context. This script consolidates all three into one lightweight overlay:
- ✅ Spot intraday breakouts against yesterday's range
- ✅ Identify major support/resistance from Yearly High/Low (52-week) and Quarterly High/Low (13-week) extremes
- ✅ Keep the chart clean with automatic label merging and full visibility toggles
---
🔹 Customization
Every component can be shown, hidden, or recolored independently:
- Toggle previous day High/Low/Mid colors
- Toggle Yearly and Quarterly High/Low visibility
- Choose High/Low vs. Close basis for the range calculations
---
🔹 How to Use It
- Intraday traders: Watch for reactions and breakouts at the previous day's high/low/mid, especially during the first hour of the session.
- Swing traders/Position/breakout traders: Treat the 52-week and 13-week highs/lows as major structural levels; a decisive close beyond them often signals a shift in the dominant range.
---
*As with any tool, this indicator is designed to provide context, not standalone signals. Combine it with your own risk management and trade plan.*
Indikator









