OPEN-SOURCE SCRIPT
Updated Golden Time Erfan

The "Golden Time" Indicator is a custom-built TradingView tool designed to assist traders by highlighting two critical trading time windows: the New York session open and a specific strategy-based time known as Golden Time.
Release Notes
The "Golden Time" Indicator is a custom-built TradingView tool designed to assist traders by highlighting two critical trading time windows: the New York session open and a specific strategy-based time known as Golden TimeRelease Notes
The "Golden Time" Indicator is a custom-built TradingView tool designed to assist traders by highlighting two critical trading time windows: the New York session open and a specific strategy-based time known as Golden TimeRelease Notes
to comeRelease Notes
there you are :)Release Notes
Fixed the New York Open: The New York Open time was originally set to 13:00 UTC, but it was moved 30 minutes forward to 13:30 UTC. I set nycOpenMinute = 30 and used this to check for the correct time when the 30 minutes are added.Time comparison: I used currentHour == nycOpenHourWithOffset and currentMinute == nycOpenMinute for the correct comparison to identify the new open time.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.