Super simple script that lets me see market opens at a glance, represented by a white vertical line.
If you can't see anything, then you may need to reset / reduce the 'offset' dependant on your timezone - NY being zer0 and NZ (where I am) being -17
Setting the timezone to a day / hour the market is closed will cause the script to not paint any lines.