Hi
I think it can be done if the variables to be reset are global.
There needs to be one market refreshing, I would suggest a long-term tournament or politics market, something like that.
Low refresh rate, e.g. 5 minutes (or you can set the refresh rate through triggers for this market as it gets closer to reset time)
one trigger to reset your global variables and also to include an action to reset win/lose history
conditions:
markets name (or betting code) is the long term market
and global current time is between 23:30 and 23:59
and any other conditions you need...