OPEN-SOURCE SCRIPT
Updated Hide Extended Hours (Candlestick chart)

Script adjusts the transparency of extended hours candles, therefore it emphasizes candles of regular trading hours, and it's easier to mark more precise key market levels.
Release Notes
Changed chart.To make the script work, change the visual order of it and bring it to the front.
Release Notes
Added timezone for improved robustnessRelease Notes
Added dynamic behavior based on the ticker.Release Notes
Updated the chartRelease Notes
Updated the chartRelease Notes
Added functionality to define trading hours as an input.Additional feature that draws vertical lines to mark opening and closing time of the session.
Release Notes
Chart updateRelease Notes
Add descriptionRelease Notes
Added option to manually define time zoneOpen-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.