I'm a bit confused about what is going on when a Workspace is put out of focus i.e. another Workspace is put in focus. I want to know what happens to the indicators on the out of focus Workspace.
It looks to me that either the indicators stop running, or they only run at end of bar.
In the attached picture I'm printing the bar time, State, and bar number. When the Workspace is in focus I'm getting a print tick-by-tick. Then at 19:20 I put another Workspace in focus and left if for 5 minutes. Then I brought the original Workspace back into focus at 19:26. Between 19:21 and 19:25 I'm only getting bar end prints, not the tick-by-tick prints. And the State is 'Realtime'
1. Does the indicator completely stop running when the Workspace goes out of focus? Or does it run end-of-bar only, or something else?
2. Is the indicator printing 19:21 to 19:25 when I bring it back into focus? Or when it's out of focus and it is running bar end only? In this case the State is 'Realtime' but it is effectively running historically. ?
3. Is there a way for the indicator to detect that it is
a) out of focus
b) switched back into focus
c) now processing 'historic' bars even though the State is 'Realtime'.
Hope that makes sense. Please ask if I need to explain more.
Thanks
Comment