Does it make any performance difference how many bars look back I have on these charts? I would like to set the lookback period to about 12000 bars, in order to be able to show global draw objects as far back as a couple of days (i.e. trendlines, horizontal lines, etc.)
So, two questions:
1. If the chart is refreshing on every OnMarketDepth() call, does it slow the system down in any way if there are more bars lookback? I am only showing the most recent hour or so of data, so the rest is not actually seen.
2. Does it make any difference if there is a drawn object on the screen? If I have a trendline going back a couple of days, does that have to be recalculated and redrawn somehow with every chart refresh, thereby slowing the system down?
I'd like to know for performance reasons... thanks!
Comment