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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.