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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.