OPEN-SOURCE SCRIPT
Key Levels - Prop Trader Journey

Key Levels – Prop Trader Journey (Intraday Levels + Clean Right-Side Layout)
This indicator plots session-based reference levels commonly used for intraday futures/stocks, with a focus on clean chart layout and label collision handling.
What it plots (toggle each on/off)
How levels are calculated (high level)
The script detects whether the current bar is inside RTH / Pre-Market / Opening Range / First Hour using your chosen time zone and session templates.
High/Low levels update in real time while inside each session window. Premarket levels are cached so they remain visible after premarket ends.
Weekly levels are pulled from the weekly timeframe to provide higher-timeframe context.
Display modes
Label collision handling (the “unique” part)
When multiple levels are close together, labels can overlap. This script supports:
Merge: combine nearby levels into one label within a tick threshold
Stack: show separate labels stacked vertically
Merge + Stack (4+): merge normally, but stack when there are many levels
This helps visualize confluence/stacked zones without clutter.
Customization
Every level has its own color / line style / width controls. Labels have adjustable text/bg/size, and custom levels can extend left by a user-defined number of bars.
How to use with you trade
Use these levels as reaction areas (support/resistance, rejection, breakout/retest). When labels “stack” or multiple names appear merged at similar prices, that signals confluence—often a more important zone than a single level.

This indicator plots session-based reference levels commonly used for intraday futures/stocks, with a focus on clean chart layout and label collision handling.
What it plots (toggle each on/off)
- Today’s RTH High/Low (TDH/TDL)
- Opening Range High/Low (ORH/ORL) based on the first N minutes after RTH open
- Pre-Market High/Low (PMH/PML) based on the premarket session window
- First Hour High/Low (1HH/1HL) based on the first N minutes after RTH open
- Yesterday’s RTH High/Low (YDH/YDL) captured at the next RTH open
- RTH Open price
- RTH Average line (AVG) using a selectable source (HL2 / HLC3 / OHLC4 / HLCC4)
- This Week / Last Week levels (O/H/L/C + Avg) from the weekly timeframe
- Optional Session Open level at a configurable time (default 18:00 NY)
- 2 Custom price levels (optional extend-left)
How levels are calculated (high level)
The script detects whether the current bar is inside RTH / Pre-Market / Opening Range / First Hour using your chosen time zone and session templates.
High/Low levels update in real time while inside each session window. Premarket levels are cached so they remain visible after premarket ends.
Weekly levels are pulled from the weekly timeframe to provide higher-timeframe context.
Display modes
- Compact mode: levels are drawn in a compact “right-side” layout using a configurable right offset and line length.
- Pivot mode: levels originate from the bar where the level was established/updated and extend toward the right.
Label collision handling (the “unique” part)
When multiple levels are close together, labels can overlap. This script supports:
Merge: combine nearby levels into one label within a tick threshold
Stack: show separate labels stacked vertically
Merge + Stack (4+): merge normally, but stack when there are many levels
This helps visualize confluence/stacked zones without clutter.
Customization
Every level has its own color / line style / width controls. Labels have adjustable text/bg/size, and custom levels can extend left by a user-defined number of bars.
How to use with you trade
Use these levels as reaction areas (support/resistance, rejection, breakout/retest). When labels “stack” or multiple names appear merged at similar prices, that signals confluence—often a more important zone than a single level.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
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.