a_dema

Delimited Levels Today Session - Colors as Inputs

This script is an alternative to It was developed to address user feedback / enhancement requests.
The difference is that the 12 color settings are separate input variables, and therefore will retain their values across level input value changes, and support 'default' template saving.
Release Notes:
Script enhanced to support timezone configurable definition of "today".
This is specified in an input variable, using UTC/GMT notation (e.g., "UTC-5", "GMT+0530") or as an IANA time zone database name (e.g., "America/New_York").
Release Notes:
Weekend adjustment not working as expected, removed this function until code fixes complete
Release Notes:
Simplified. "Today" is simply defined as midnight onwards for the specified timezone.
Open-source script

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.

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.

Want to use this script on a chart?