I have a weekly strategy where I want to trade from the first trading hour to the last trading hour of the week and not hold any positions over the weekend.

My point is... I don't want to hard code the regular schedule because it is fluid. The ultimate goal is to trade from the first hour to the last hour and not hold positions over the weekend.

How would you do it if you were using Minute resolution for a given Futures (e.g. ES, NQ, CL, etc.)

I have attached code that uses Scheduled Events. For WeekStart(), I noticed that the first day of the week is Monday or Tuesday. I was expecting Sunday. WeekEnd() looks correct.