Well this is not sampling. These are 1 minute bars and the fast and slow ema's are calculated once each minute. Yes the algorithm underneath is receiving a constant stream of trade tick data and assembling it in what ever size records happen to be needed for the complex calculations to determine if a trade event should be triggered. But these operations have no frontend, neither a console or xwindow graph. The graph is simply calculated from historical data, albeit only a few seconds or minutes old, from the time the algorithm processed it in real time. This slow human interface is begin used by a human to issue commands to steer the algorithm in the right direction. Decisions like the size bars, use the crossover point in the fast and slow ema's, or use a change in the slope of the fast ema and its distance form the slow ema, or even switch algorithms. The graphing utility is not sampling real time data.
The size bars being assembled from the algorithm range from millseconds to seconds which are being used by the algorithm itself, and bars in the second to minute range which is made available if needed, by the graphing program for human consumption.
All that said, is I've been trying to get help from someone who is knowledgeable with the charting software. I suck at it. I'm a fairly good programmer dealing with the discipline I majored in which isn't desktops and graphical interfaces.
There has always been, and always will be, a disconnect between the programmer and the engineer.
Cheers!