OPEN-SOURCE SCRIPT
Intraday Levels Pro

Intraday Levels (IDLevels) — View‑Safe Session Levels (v6)
Intraday Levels is a lightweight, view‑safe session levels indicator that plots the most important intraday reference prices without spamming labels or cluttering your chart. Every level is drawn as one persistent line + one persistent label, updated in real time as the session develops.
What it plots
Intraday Sessions
Premarket High / Low (PMH / PML)
Regular Session (RTH) Day High / Low (DH / DL)
Afterhours High / Low (AHH / AHL)
Prior Day Levels (Optional)
Previous Day High / Low (PDH / PDL)
Previous Day Close (PDC)
2 Days Ago High / Low (PDH2 / PDL2)
Weekly Levels
Week High / Low (WH / WL)
Previous Week High / Low (PWH / PWL)
Built for “View‑Safe” charts (no label spam)
This script updates the same objects instead of creating new ones every bar:
✅ One label per level (updated in place)
✅ One line per level (updated in place)
✅ No repeated labels stacking on the right side of the chart
Display Modes
Choose how levels behave across the chart:
1) Today only
Levels extend to the right, anchored to the current day/session
2) Most recent across chart
Levels extend across the full chart (great for quick context)
Labels & Styling
Toggle lines on/off
Toggle labels on/off
Toggle price on labels (e.g., PMH 7027.25)
Choose Short names (PMH/PDH/etc.) or Full names (Premarket High/Prev Day High/etc.)
Adjustable label size + label offset
Style controls for intraday/prior/weekly lines (solid/dashed/dotted)
Optional Force Dotted mode to make everything dotted quickly
Premarket data handling (QQQ / SPY / Futures friendly)
If your symbol doesn’t provide reliable Premarket data (or you are on a feed/session without PM candles), there’s an optional fallback:
PM Proxy Toggle
If no Premarket session exists, the script can use the first X minutes of RTH as a Premarket proxy range.
Notes
Session times are exchange‑time based using TradingView session inputs.
Intended for intraday traders who want clean, high-signal levels without chart compression or label clutter.
Intraday Levels is a lightweight, view‑safe session levels indicator that plots the most important intraday reference prices without spamming labels or cluttering your chart. Every level is drawn as one persistent line + one persistent label, updated in real time as the session develops.
What it plots
Intraday Sessions
Premarket High / Low (PMH / PML)
Regular Session (RTH) Day High / Low (DH / DL)
Afterhours High / Low (AHH / AHL)
Prior Day Levels (Optional)
Previous Day High / Low (PDH / PDL)
Previous Day Close (PDC)
2 Days Ago High / Low (PDH2 / PDL2)
Weekly Levels
Week High / Low (WH / WL)
Previous Week High / Low (PWH / PWL)
Built for “View‑Safe” charts (no label spam)
This script updates the same objects instead of creating new ones every bar:
✅ One label per level (updated in place)
✅ One line per level (updated in place)
✅ No repeated labels stacking on the right side of the chart
Display Modes
Choose how levels behave across the chart:
1) Today only
Levels extend to the right, anchored to the current day/session
2) Most recent across chart
Levels extend across the full chart (great for quick context)
Labels & Styling
Toggle lines on/off
Toggle labels on/off
Toggle price on labels (e.g., PMH 7027.25)
Choose Short names (PMH/PDH/etc.) or Full names (Premarket High/Prev Day High/etc.)
Adjustable label size + label offset
Style controls for intraday/prior/weekly lines (solid/dashed/dotted)
Optional Force Dotted mode to make everything dotted quickly
Premarket data handling (QQQ / SPY / Futures friendly)
If your symbol doesn’t provide reliable Premarket data (or you are on a feed/session without PM candles), there’s an optional fallback:
PM Proxy Toggle
If no Premarket session exists, the script can use the first X minutes of RTH as a Premarket proxy range.
Notes
Session times are exchange‑time based using TradingView session inputs.
Intended for intraday traders who want clean, high-signal levels without chart compression or label clutter.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。