PureBytes Links
Trading Reference Links
|
> I have an indicator on my chart that keeps a running status of my
> P&L. When I have a trade on it is set to "Update Every Tick". The
> problem I have is that when there is a lot of activity (like in the
> E-Mini 500) the chart seems to reload with every update and causes
> constant flicker.
Usually the chart only replots when it needs to be rescaled -- when
the whole chart needs to be redrawn with different top & bottom
values. Other times TS just redraws the rightmost bar.
Realize that *any* subgraph being rescaled will replot the chart, so
if your indicator needs to be rescaled, that would cause a replot.
But I wouldn't expect it to do that on *every* tick. Is it really
every tick, or only when the market ticks in your direction and gives
you a new equity high or whatever?
If it's replotting on *every* tick, then try the hardware
acceleration suggestion. But in that case I would expect it to
replot on every tick (on every chart!) whether you display your P&L
indicator or not.
If it's only flashing when you get a new equity high, you can avoid
that by plotting another line in your indicator that's higher than
your P&L line. E.g. if you plot a line at
1000*intportion(PnL/1000+1), your chart will only rescale every time
your P&L crosses a $1000 boundary. Make the extra line the same
color as your chart background and you won't notice it.
Gary
|