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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.