Once a day not working?
-
I have an EA which resets variables once a day at 00:01
The EA uses the Daily candle so in theory, all the variables should reset to 0, 1 minute after new candle open, however this does not happen.
Am I doing something wrong?
-

here is an example. the values OnceDay, CrossUnderFib should be 0 now as candle has opened
-
maybe new tick was not arrived at 00:01 ...
something like this have greater certainty that reset happens

https://fxdreema.com/shared/Y6WhJP0Sb
-
Hey, but this would be dangerous if someone changed the TF to 1hr candle .
Is there another method?
-
How are you trying to do that? Because this block is one of the mostly used and one of those that I don't update very often and my expectation is that is should work. Maybe something else does not work?