OPEN-SOURCE SCRIPT
Delimited Levels Today Session

This script takes a delimited string of level values (up to 12) and plots them on the chart as per parameters.
Alerts can be set up for crossing, etc, using the Alerts panel as per usual.
Very handy if you have a spreadsheet or list of values to plot.
For example, say your spreadsheet has a list of these 12 levels to plot:
3800
3811
3822
3837
3851
3862
3877
3887
3902
3913
3928
The values could be copied to notepad / text editor, and the line breaks replaced with a delimiter, such as the ';' character (note: no trailing delimiter), to produce a delimited string:
3800;3811;3822;3837;3851;3862;3877;3887;3902;3913;3928
And then simply copy / paste this delimited string into the "Levels Delimited String" parameter.
Note: This script builds upon earlier script:
Enhancements include:
- Plot only for latest day (weekends factored in)
- Plot only for specified session
- Plot as bands or as lines
Alerts can be set up for crossing, etc, using the Alerts panel as per usual.
Very handy if you have a spreadsheet or list of values to plot.
For example, say your spreadsheet has a list of these 12 levels to plot:
3800
3811
3822
3837
3851
3862
3877
3887
3902
3913
3928
The values could be copied to notepad / text editor, and the line breaks replaced with a delimiter, such as the ';' character (note: no trailing delimiter), to produce a delimited string:
3800;3811;3822;3837;3851;3862;3877;3887;3902;3913;3928
And then simply copy / paste this delimited string into the "Levels Delimited String" parameter.
Note: This script builds upon earlier script:

Enhancements include:
- Plot only for latest day (weekends factored in)
- Plot only for specified session
- Plot as bands or as lines
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 completeRelease Notes
Simplified. "Today" is simply defined as midnight onwards for the specified timezone.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.