OPEN-SOURCE SCRIPT
FOREXSOM | Custom Time High & Low

This indicator plots the high and low of a user-defined intraday candle based on a selected time and timezone.
It provides a structured way to observe how price reacts around specific moments during the trading session by marking the range of a chosen candle.
How it works
The script checks each bar against the selected hour and minute using the chosen timezone.
When the specified time occurs, it captures that candle’s high and low and draws horizontal levels on the chart.
These levels can optionally extend forward to act as reference levels for the remainder of the trading day.
Features
Customizable hour and minute selection
Timezone input with automatic adjustment
High and low levels drawn from the selected candle
Optional extension of levels forward
Automatic reset at the start of each new trading day
Minimal and clean chart output
Use cases
Identifying the range of session opens (e.g., New York or London)
Observing how price interacts with specific intraday candles
Creating consistent reference levels for analysis
Notes
Designed for intraday timeframes
The script does not generate trading signals or predictions
Levels are based solely on historical price data from the selected candle
About this script
This script focuses on isolating a single candle in time and displaying its range in a consistent and repeatable way.
Its purpose is to simplify the process of tracking specific intraday reference levels without adding unnecessary elements to the chart.
Disclaimer
This indicator is provided for informational and educational purposes only.
It does not constitute financial advice. Users should perform their own analysis before making trading decisions.
It provides a structured way to observe how price reacts around specific moments during the trading session by marking the range of a chosen candle.
How it works
The script checks each bar against the selected hour and minute using the chosen timezone.
When the specified time occurs, it captures that candle’s high and low and draws horizontal levels on the chart.
These levels can optionally extend forward to act as reference levels for the remainder of the trading day.
Features
Customizable hour and minute selection
Timezone input with automatic adjustment
High and low levels drawn from the selected candle
Optional extension of levels forward
Automatic reset at the start of each new trading day
Minimal and clean chart output
Use cases
Identifying the range of session opens (e.g., New York or London)
Observing how price interacts with specific intraday candles
Creating consistent reference levels for analysis
Notes
Designed for intraday timeframes
The script does not generate trading signals or predictions
Levels are based solely on historical price data from the selected candle
About this script
This script focuses on isolating a single candle in time and displaying its range in a consistent and repeatable way.
Its purpose is to simplify the process of tracking specific intraday reference levels without adding unnecessary elements to the chart.
Disclaimer
This indicator is provided for informational and educational purposes only.
It does not constitute financial advice. Users should perform their own analysis before making trading decisions.
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.