PROTECTED SOURCE SCRIPT
Range Levels Overlay

This indicator lets you plot up to three sets of horizontal range levels on any chart, with labels that stay readable while you scroll.
It’s designed for traders who want clean, always-visible reference levels like weekly ranges, today’s ranges, and yesterday’s reference levels, without clutter.
What it shows
You can optionally display:
1. Weekly Levels (Manual)
> Two manual prices (Upper / Lower)
> Drawn across the entire chart
2. Current Day Levels (Manual)
> Two manual prices (Upper / Lower)
> Drawn across the entire chart
3. Prior Day Levels
Choose one source:
> Prev Day Range (from Today inputs) (default)
Automatically “rolls” yesterday’s Current Day Upper/Lower into Prior Day once a new day begins.
> Auto High/Low (Daily)
Uses the chart’s previous day high/low via the Daily timeframe.
> Manual Override
Enter your own prior day upper/lower.
Labels that stay visible when you scroll
This script uses two label anchors:
> Primary labels are anchored to the last bar (so they remain visible when you scroll left/right).
> Ghost labels follow the current bar (so you still see levels near current price action).
You can adjust both label sets:
> Location: Left / Middle / Right
> Offset: number of bars from the anchor
> Font size
How to use (quick steps)
1. Add the indicator to your chart.
2. Turn on/off what you want:
> Weekly Levels
> Current Day Levels
> Prior Day Levels
3. Enter your numbers:
> Weekly Upper/Lower
> Current Day Upper/Lower
4. Choose your Prior Day Source:
> Default: Prev Day Range (from Today inputs)
(yesterday’s range is automatically captured when the new day starts)
> Or use Auto High/Low (Daily) if you prefer true daily OHLC.
> Or Manual Override if you want full control.
5. Adjust label placement so it fits your layout:
> If labels feel too far away, reduce offsets.
> If labels overlap candles, switch label location or reduce ghost offset.
Recommended settings (good starting point)
> Show Ghost Copy: ON
> Primary Label Location: Right, Offset ~80
> Ghost Label Location: Right, Offset ~40
> Prior Day Source: “Prev Day Range (from Today inputs)” (default)
Notes
> The “Prev Day Range (from Today inputs)” option depends on you entering your Current Day Upper/Lower each day. Once the day rolls over, those values become the Prior Day levels automatically.
> All lines extend across the full chart, so levels remain visible no matter where you scroll.
It’s designed for traders who want clean, always-visible reference levels like weekly ranges, today’s ranges, and yesterday’s reference levels, without clutter.
What it shows
You can optionally display:
1. Weekly Levels (Manual)
> Two manual prices (Upper / Lower)
> Drawn across the entire chart
2. Current Day Levels (Manual)
> Two manual prices (Upper / Lower)
> Drawn across the entire chart
3. Prior Day Levels
Choose one source:
> Prev Day Range (from Today inputs) (default)
Automatically “rolls” yesterday’s Current Day Upper/Lower into Prior Day once a new day begins.
> Auto High/Low (Daily)
Uses the chart’s previous day high/low via the Daily timeframe.
> Manual Override
Enter your own prior day upper/lower.
Labels that stay visible when you scroll
This script uses two label anchors:
> Primary labels are anchored to the last bar (so they remain visible when you scroll left/right).
> Ghost labels follow the current bar (so you still see levels near current price action).
You can adjust both label sets:
> Location: Left / Middle / Right
> Offset: number of bars from the anchor
> Font size
How to use (quick steps)
1. Add the indicator to your chart.
2. Turn on/off what you want:
> Weekly Levels
> Current Day Levels
> Prior Day Levels
3. Enter your numbers:
> Weekly Upper/Lower
> Current Day Upper/Lower
4. Choose your Prior Day Source:
> Default: Prev Day Range (from Today inputs)
(yesterday’s range is automatically captured when the new day starts)
> Or use Auto High/Low (Daily) if you prefer true daily OHLC.
> Or Manual Override if you want full control.
5. Adjust label placement so it fits your layout:
> If labels feel too far away, reduce offsets.
> If labels overlap candles, switch label location or reduce ghost offset.
Recommended settings (good starting point)
> Show Ghost Copy: ON
> Primary Label Location: Right, Offset ~80
> Ghost Label Location: Right, Offset ~40
> Prior Day Source: “Prev Day Range (from Today inputs)” (default)
Notes
> The “Prev Day Range (from Today inputs)” option depends on you entering your Current Day Upper/Lower each day. Once the day rolls over, those values become the Prior Day levels automatically.
> All lines extend across the full chart, so levels remain visible no matter where you scroll.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.