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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。