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
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.