TradingView
a_dema
29 sep 2022 07:18

Delimited Levels Today Session - Colors as Inputs 

E-mini S&P 500 FuturesCME

Beskrivning

This script is an alternative to tradingview.com/script/LOPISEti-Delimited-Levels-Today-Session/
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.

Versionsinformation

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").

Versionsinformation

Weekend adjustment not working as expected, removed this function until code fixes complete

Versionsinformation

Simplified. "Today" is simply defined as midnight onwards for the specified timezone.
Mer