I took that idea, converted it to Pinescript V5, cleaned up the code, and added a few more lines so you can plot different levels based on time of day.
Published open source like the original.
The example shown has:
Blue - plotting from the start of the Futures Asian session to the start of the Futures USA Session. (6:00PM - 9:30AM Eastern)
Yellow - plotting from the start of the Futures Europe session to the start of the Futures USA Session. (3:00AM - 9:30AM Eastern)
Green - plotting from the start of the Futures US Premarket session to the start of the Futures USA Session. (8:00AM - 9:30AM Eastern)
These are great levels to use for breakouts and/or support and resistance.
Combine these levels with the 5 min Open Range levels, as you have some good trades.
Each of the three sessions have individual start and end times that can be modified by the trader, so you can easily mark off important areas for your style of trading.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.