PureBytes Links
Trading Reference Links
|
This is to report a very serious bug in TS 2000 Charting having to do with
the effect of increasing MaxBarsBack on a 1 minute chart. I reported the
bug in my e-mail to Omega Q.A., copied below.
As I increased MaxBarsBack of my BarCount indicator (see below) by 100, the
number of bars available to the indicator decreased by over 1,000 - that is
over ten times the effect in TS 4 and a very major bug in TS 2000 Charting.
I ran the same BarCount indicator in TS 4 on the same data (24 days of 1
minute NDX). As you would expect as MaxBarsBack is increased, the number
of bars available to indicator (as displayed in Bar Count) is reduced 1 for
1. That is an increase MaxBarsBack by 100 will reduce the number of bars
your indicator can work with by 100.
I have not received a reply from Omega Q.A. to my e-mail below so I don't
know whether this bug has already been found and will be fixed in the much
anticipated SP3.
BarCount is the following indicator. It displays a Bar Count every
"Length" bars.
Inputs: Length(25);
value1 = value1 + 1;
if value1 > Length then begin
value1 = 0;
value0 = Text_New(Date, Time, C, NumtoStr(CurrentBar, 0));
End;
if 1 = 2 then Plot1(C,"");
----- Original Message -----
From: Chris Baker
To: Hans.Stimming@xxxxxxxxxxxxxxxxx
Sent: Wednesday, October 13, 1999 3:56 PM
Subject: Serious bug in TS 2000 Charting
I've found what appears to be a very serious bug in TS 2000 charting.
I created a chart with over 9,000 bars of one minute data. This is based
on an indicator I wrote to display bar counts. With MaxBarsBack of 0 it
displays a bar count of about 9,150.
However when I change the MaxBarsBack of 256, TS 2000 doesn't display
anything on the chart. I found the highest value I can put in MaxBarsBack
is 160 in order for the indicator to display anything on the chart. With
MaxBarsBack of 160, my Bar Count Indicator displays a Bar Count of about
190.
When I change the MaxBarsBack to 100 then 3,510 bars are displayed. With
125 then 2,132 bars are displayed.
|