OPEN-SOURCE SCRIPT
מעודכן IB & OPR ASIA EU US

Title: Advanced Multi-Session Box: IB & OPR (Asia, London, New York)
Description: The Advanced Multi-Session Box: IB & OPR indicator is a versatile, streamlined tool designed specifically for Intraday Traders, Scalpers, and SMC/ICT practitioners. It visually maps out the Opening Price Range (OPR) and Initial Balance (IB) of the three major global trading sessions: Asia, Europe (London), and the US (New York).
Understanding the initial range of these key sessions is critical, as they commonly dictate liquidity pools, intraday support/resistance boundaries, and the directional bias for the rest of the trading day.
🌟 Key Features
✅ Three Core Sessions: Independently configure and toggle the Asia, Europe, and US sessions to match your trading schedule.
✅ Dynamic Timezones: Customize the specific start/end times and timezones (UTC offsets) for each session separately to align with your local broker.
✅ Projected Range Extensions: Optionally extend the session box (High/Low boundaries) forward throughout the current trading day to easily spot late-session breakouts, retests, or liquidity sweeps.
✅ Advanced Midline (50% Equilibrium): Displays a customizable median line inside each session box. The Equilibrium level acts as an excellent dynamic take-profit target or pivot zone.
✅ Smart History Management: Keep your chart perfectly clean! Choose to display only the sessions from "Today", "Two Days", the past "Week", or "All" history to prevent visual clutter.
✅ Deep Visual Customization: Every visual aspect is tweakable. Adjust the box opacity, fill color, border styles, text labels, label alignments, label sizes, and colors directly from the settings menu.
💡 How to Use
Initial Balance Breakouts: The high or low of an established Opening Price Range acts as a crucial line in the sand. A strong 15m or 1H candle close outside the box often signals a trend continuation, while a swift rejection back inside signals a mean-reversion setup.
Equilibrium Bounces: Price frequently respects the median line (50% of the session's range) during consolidations. Use it as a dynamic support or resistance validation point.
Liquidity Sweeps: Observe how the US session interacts with the established highs and lows of the Asian or European session. A quick sweep of the Asian high right at the London or NY open offers a classic "Judas Swing" trading setup.
Note: This indicator employs modern, highly optimized internal logic to manage TradingView's object limits effortlessly, ensuring zero lag on your charts while maintaining visual accuracy.
Description: The Advanced Multi-Session Box: IB & OPR indicator is a versatile, streamlined tool designed specifically for Intraday Traders, Scalpers, and SMC/ICT practitioners. It visually maps out the Opening Price Range (OPR) and Initial Balance (IB) of the three major global trading sessions: Asia, Europe (London), and the US (New York).
Understanding the initial range of these key sessions is critical, as they commonly dictate liquidity pools, intraday support/resistance boundaries, and the directional bias for the rest of the trading day.
🌟 Key Features
✅ Three Core Sessions: Independently configure and toggle the Asia, Europe, and US sessions to match your trading schedule.
✅ Dynamic Timezones: Customize the specific start/end times and timezones (UTC offsets) for each session separately to align with your local broker.
✅ Projected Range Extensions: Optionally extend the session box (High/Low boundaries) forward throughout the current trading day to easily spot late-session breakouts, retests, or liquidity sweeps.
✅ Advanced Midline (50% Equilibrium): Displays a customizable median line inside each session box. The Equilibrium level acts as an excellent dynamic take-profit target or pivot zone.
✅ Smart History Management: Keep your chart perfectly clean! Choose to display only the sessions from "Today", "Two Days", the past "Week", or "All" history to prevent visual clutter.
✅ Deep Visual Customization: Every visual aspect is tweakable. Adjust the box opacity, fill color, border styles, text labels, label alignments, label sizes, and colors directly from the settings menu.
💡 How to Use
Initial Balance Breakouts: The high or low of an established Opening Price Range acts as a crucial line in the sand. A strong 15m or 1H candle close outside the box often signals a trend continuation, while a swift rejection back inside signals a mean-reversion setup.
Equilibrium Bounces: Price frequently respects the median line (50% of the session's range) during consolidations. Use it as a dynamic support or resistance validation point.
Liquidity Sweeps: Observe how the US session interacts with the established highs and lows of the Asian or European session. A quick sweep of the Asian high right at the London or NY open offers a classic "Judas Swing" trading setup.
Note: This indicator employs modern, highly optimized internal logic to manage TradingView's object limits effortlessly, ensuring zero lag on your charts while maintaining visual accuracy.
הערות שחרור
Title: Advanced Multi-Session Box: IB & OPR (Asia, London, New York)Description: The Advanced Multi-Session Box: IB & OPR indicator is a versatile, streamlined tool designed specifically for Intraday Traders, Scalpers, and SMC/ICT practitioners. It visually maps out the Opening Price Range (OPR) and Initial Balance (IB) of the three major global trading sessions: Asia, Europe (London), and the US (New York).
Understanding the initial range of these key sessions is critical, as they commonly dictate liquidity pools, intraday support/resistance boundaries, and the directional bias for the rest of the trading day.
🌟 Key Features
✅ Three Core Sessions: Independently configure and toggle the Asia, Europe, and US sessions to match your trading schedule.
✅ Dynamic Timezones: Customize the specific start/end times and timezones (UTC offsets) for each session separately to align with your local broker.
✅ Projected Range Extensions: Optionally extend the session box (High/Low boundaries) forward throughout the current trading day to easily spot late-session breakouts, retests, or liquidity sweeps.
✅ Advanced Midline (50% Equilibrium): Displays a customizable median line inside each session box. The Equilibrium level acts as an excellent dynamic take-profit target or pivot zone.
✅ Smart History Management: Keep your chart perfectly clean! Choose to display only the sessions from "Today", "Two Days", the past "Week", or "All" history to prevent visual clutter.
✅ Deep Visual Customization: Every visual aspect is tweakable. Adjust the box opacity, fill color, border styles, text labels, label alignments, label sizes, and colors directly from the settings menu.
💡 How to Use
Initial Balance Breakouts: The high or low of an established Opening Price Range acts as a crucial line in the sand. A strong 15m or 1H candle close outside the box often signals a trend continuation, while a swift rejection back inside signals a mean-reversion setup.
Equilibrium Bounces: Price frequently respects the median line (50% of the session's range) during consolidations. Use it as a dynamic support or resistance validation point.
Liquidity Sweeps: Observe how the US session interacts with the established highs and lows of the Asian or European session. A quick sweep of the Asian high right at the London or NY open offers a classic "Judas Swing" trading setup.
Note: This indicator employs modern, highly optimized internal logic to manage TradingView's object limits effortlessly, ensuring zero lag on your charts while maintaining visual accuracy.
הערות שחרור
Title: Advanced Multi-Session Box: IB & OPR (Asia, London, New York)Description: The Advanced Multi-Session Box: IB & OPR indicator is a versatile, streamlined tool designed specifically for Intraday Traders, Scalpers, and SMC/ICT practitioners. It visually maps out the Opening Price Range (OPR) and Initial Balance (IB) of the three major global trading sessions: Asia, Europe (London), and the US (New York).
Understanding the initial range of these key sessions is critical, as they commonly dictate liquidity pools, intraday support/resistance boundaries, and the directional bias for the rest of the trading day.
🌟 Key Features
✅ Three Core Sessions: Independently configure and toggle the Asia, Europe, and US sessions to match your trading schedule.
✅ Dynamic Timezones: Customize the specific start/end times and timezones (UTC offsets) for each session separately to align with your local broker.
✅ Projected Range Extensions: Optionally extend the session box (High/Low boundaries) forward throughout the current trading day to easily spot late-session breakouts, retests, or liquidity sweeps.
✅ Advanced Midline (50% Equilibrium): Displays a customizable median line inside each session box. The Equilibrium level acts as an excellent dynamic take-profit target or pivot zone.
✅ Smart History Management: Keep your chart perfectly clean! Choose to display only the sessions from "Today", "Two Days", the past "Week", or "All" history to prevent visual clutter.
✅ Deep Visual Customization: Every visual aspect is tweakable. Adjust the box opacity, fill color, border styles, text labels, label alignments, label sizes, and colors directly from the settings menu.
💡 How to Use
Initial Balance Breakouts: The high or low of an established Opening Price Range acts as a crucial line in the sand. A strong 15m or 1H candle close outside the box often signals a trend continuation, while a swift rejection back inside signals a mean-reversion setup.
Equilibrium Bounces: Price frequently respects the median line (50% of the session's range) during consolidations. Use it as a dynamic support or resistance validation point.
Liquidity Sweeps: Observe how the US session interacts with the established highs and lows of the Asian or European session. A quick sweep of the Asian high right at the London or NY open offers a classic "Judas Swing" trading setup.
Note: This indicator employs modern, highly optimized internal logic to manage TradingView's object limits effortlessly, ensuring zero lag on your charts while maintaining visual accuracy.
הערות שחרור
🟠 Logique enrichief_session() — nouvelle fonction de tracking qui maintient le H/L en temps réel ET le H/L de la dernière session complétée (clôturée), indépendamment pour chaque session. C'est la fondation de tout le reste.
Breakouts — ta.crossover/crossunder sur le H/L de la session clôturée, avec barstate.isconfirmed (anti-repainting) et filtre volume optionnel. Fonctionne après la fin de chaque session, pas pendant.
Judas Swing — compteur de barres depuis l'ouverture EU/US, sweep détecté si high > asCH and close < asCH (ou inverse pour le low) dans la fenêtre configurable. Label jaune ⚡ JUDAS avec indication EU ou US.
🟡 Visuel enrichi
Quartiles 25% / 75% — deux lignes pointillées optionnelles à l'intérieur de chaque box, en plus de la médiane. Utile pour des entrées en mean-reversion plus précises.
Range en pts (mis à jour en direct) — box.set_text() à chaque barre de la session : affiche XXpts (X.XXX%) sous le label. Le pourcentage est relatif au prix courant.
6 flèches breakout colorées par session (bleu US, orange EU, violet Asia)
🟢 Dashboard (haut gauche)
Sessions actives marquées ●, H/L de référence (session en cours ou dernière complétée), position prix vs médiane, range en pts, ligne Judas Swing avec état actif
📢 11 alertes — ouverture × 3 sessions, breakout up/down × 3 sessions, Judas EU, Judas US
הערות שחרור
IB & OPR by Tradernoobxהערות שחרור
v2סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.