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 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.