Apparently, the later is correct. I have an indicator that upon a certain condition (for example A=B), it prints the current hour, minute, second and millisecond. This indicator is calculated at each tick. When the condition is achieved during the current bar, it keeps printing like this:
Condition achieved 09:45:55:345
Condition achieved 09:45:56:727
Condition achieved 09:45:57:127
Condition achieved 09:45:57:856 .......... and so on
Definitely there is interruption if A!=B during the bar period. Like this; which is also normal
Condition achieved 09:45:25:345
Condition achieved 09:45:26:727
Condition achieved 09:45:44:127
Condition achieved 09:45:45:856
However the problem resides here: Several times, I see this kind of prints:
Condition achieved 09:45:55:345
Condition achieved 09:45:56:727
Condition achieved 09:45:57:127
Condition achieved 09:46:00:856
A print showing a calculation that is triggered by the first tick of the next bar. This induces a big confusion and is problematic since the condition A=B is calculated and checked with information from both the previous bar and the first tick of the new bar. Is this the case? Apparently it is. Would you please clarify?
Comment