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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。