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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.