@gsmtricks theres lots of problems with ontimer lately, maybe there is some unknown bug...
You could do it ontick, and just hope there are ticks during those 1-3 seconds.
When new candle opens, put the time into a variable with TimeCurrent() function.
Now you can set condition: TimeCurrent() > variable + 2
This way you get a 2 second delay from candle open.