OPEN-SOURCE SCRIPT
Open Session Candle Highlight + ATR and TR

*UPDATED SCRIPT*
Highlights the opening candle of the selected forex session while displaying Opening Range (OR) and volatility statistics.
Features
* Highlights the opening candle for:
* Asian Session
* London Session
* New York Session
* Displays:
* Opening Range (OR)
* Volatility Value
* Opening Range as a percentage of volatility
* Customizable:
* ATR Length
* ATR Source
* Opening Candle Color
* Label Position
* Label Background
* Label Text Color
ATR Source Options
Current Timeframe
Calculates ATR using the selected chart timeframe (e.g., a 15-minute chart uses the last 14 fifteen-minute candles).
Daily ATR
Calculates ATR using the daily timeframe over the specified ATR length, regardless of the chart timeframe.
Previous Day TR
Uses the previous trading day’s completed True Range as the volatility reference
Highlights the opening candle of the selected forex session while displaying Opening Range (OR) and volatility statistics.
Features
* Highlights the opening candle for:
* Asian Session
* London Session
* New York Session
* Displays:
* Opening Range (OR)
* Volatility Value
* Opening Range as a percentage of volatility
* Customizable:
* ATR Length
* ATR Source
* Opening Candle Color
* Label Position
* Label Background
* Label Text Color
ATR Source Options
Current Timeframe
Calculates ATR using the selected chart timeframe (e.g., a 15-minute chart uses the last 14 fifteen-minute candles).
Daily ATR
Calculates ATR using the daily timeframe over the specified ATR length, regardless of the chart timeframe.
Previous Day TR
Uses the previous trading day’s completed True Range as the volatility reference
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.