[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Chart Flicker/Jumping/Update Every Tick



PureBytes Links

Trading Reference Links

Speaking of wierd Ts2k problems I continue to have horrendous chart flicker
with an indicator set to update every tick.  For example a simple daily
stock chart with a volume indicator plotted as a histogram in a subgraph
below the price bars.  During mkt hours the chart jumps like a kangaroo if
it is a hot stock.  It goes away if you turn off update every tick.  Gary
Fritz mentioned that the chart redraws if it is rescaling.  This is
definitely the right area but the perfect solution still eludes me.  My
volume indicator causes the chart to redraw every tick even though it is not
rescaling.  Vol starts near zero at the open and grows during the day.  The
scale is only forced to expand if the current day's volume exceeds all prior
days.  The jumping occurs right from the open.  The jumping does go away if
I set the scaling for the vol indicator to Entire Data Series instead of
Screen.  This is OK but I like screen scaling much better since if there is
a big vol spike back a ways the scale becomes too large and the normal size
bars get very small and difficult to differentiate.  This is definitely a TS
bug of some sort since it has plagued me for many years.  Disabling Hardware
Acceleration has no effect whatsoever.  Somebody else mentioned increasing
the weight of the bars.  I made them super fat with no effect on jumping.
Anybody figures this out will be most appreciated.

Bill Wood

-----Original Message-----
From: Gary Fritz [mailto:fritz@xxxxxxxx]
Sent: Wednesday, February 21, 2001 12:09 PM
To: Omega-List
Subject: Re: Update Every Tick


> 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