OPEN-SOURCE SCRIPT
Key Levels Lite by ProDeskTrades

Key Levels Lite plots the four most important institutional price reference levels used by
professional traders, with real-time sweep tracking for each.
Levels plotted:
- PDH / PDL — Previous Day High & Low. Locked at the prior RTH session close. Most-watched daily
reference for institutional order flow.
- ORH / ORL — Opening Range High & Low. Formed during the first 15 minutes of RTH (9:30–9:45 AM ET).
Breakouts and rejections from the OR are a primary intraday setup.
- IBH / IBL — Initial Balance High & Low. Formed during the first 60 minutes of RTH (9:30–10:30 AM
ET). Wider range used to gauge session direction and extension targets.
- VWAP — Volume Weighted Average Price. Calculated from RTH open. Used by institutions as a benchmark
for execution quality and intraday bias.
How it works:
Each level is tracked bar-by-bar. When price closes beyond a level, it is marked as swept and the
sweep count increments. Lines change color on sweep so you can immediately see which levels have been
taken vs. which remain untested. During the OR and IB build windows, levels show a "building" status
until the session window closes and the level locks.
Live legend table shows each level's current price and status — active, building, or swept Nx —
updated on every bar.
Settings:
- Show/hide each level independently
- Line style: Solid, Dashed, or Dotted
- Line width: 1–4
- Table position: Top Right, Top Left, Bottom Right, Bottom Left
- Session times are configurable for non-US instruments
Best used on 1m, 5m, and 15m timeframes. Optimized for US equity index futures (ES, NQ, RTY, YM) and
their micros.
Not financial advice. Trading involves substantial risk of loss.
professional traders, with real-time sweep tracking for each.
Levels plotted:
- PDH / PDL — Previous Day High & Low. Locked at the prior RTH session close. Most-watched daily
reference for institutional order flow.
- ORH / ORL — Opening Range High & Low. Formed during the first 15 minutes of RTH (9:30–9:45 AM ET).
Breakouts and rejections from the OR are a primary intraday setup.
- IBH / IBL — Initial Balance High & Low. Formed during the first 60 minutes of RTH (9:30–10:30 AM
ET). Wider range used to gauge session direction and extension targets.
- VWAP — Volume Weighted Average Price. Calculated from RTH open. Used by institutions as a benchmark
for execution quality and intraday bias.
How it works:
Each level is tracked bar-by-bar. When price closes beyond a level, it is marked as swept and the
sweep count increments. Lines change color on sweep so you can immediately see which levels have been
taken vs. which remain untested. During the OR and IB build windows, levels show a "building" status
until the session window closes and the level locks.
Live legend table shows each level's current price and status — active, building, or swept Nx —
updated on every bar.
Settings:
- Show/hide each level independently
- Line style: Solid, Dashed, or Dotted
- Line width: 1–4
- Table position: Top Right, Top Left, Bottom Right, Bottom Left
- Session times are configurable for non-US instruments
Best used on 1m, 5m, and 15m timeframes. Optimized for US equity index futures (ES, NQ, RTY, YM) and
their micros.
Not financial advice. Trading involves substantial risk of loss.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.