I'm trying to do same thing, just for UTC time (as I guess it's easier first step), but stuggling. Would you know how to Plot let's say JUST weekly Close or weekly Open based on UTC (at midnight)? For you might help code examples at the end of this https://zorro-project.com/manual/en/barperiod.htm.