You can create a user variable of type bool in the User Defined Inputs page. Then in the Condition Builder you can set it to true or false as you deem necessary. Then as it comes to a new trading day you can reset that bool variable to whatever state you need it to be.
Unfortunately we do not have sample code.
Comment