PureBytes Links
Trading Reference Links
|
Alan Mi wrote on Sun, 18 Apr 1999 16:10:02 -0500
<Bug#2: For non-time-based bar charts (volume bars and tick bars
charts), the 0-minus ticks (a tick that is the same as previous tick but
the first one on the "platform" was a down tick) are counted toward plus
ticks when they should be counted toward downticks. Stop using any study
that references UpTicks or DownTicks. Note that if it references only
Volume(Tick) which is the sum of the two, it is okay. 1 tick chart is
not affected by this bug; only you have to compare with the previous
tick price to do your own up/down tick counts. You just have to build
everything from 1 tick chart.>
I was told by tech support that this is not a bug but was purposely
programmed this way. It not only affects tick charts but also any minute
charts. All minute charts are built off of 1 tick data. THE UP/DOWN
VOLUME FOR ANY INTRADAY CHART IS INCORRECT! The code below will give you
a correct plot of up/down 1 tick volume. It will not give correct
intraday up/down volume on any other chart and there is no way to
program for them with out a DLL such as Hashnumb, which is not available
in 32 bit. With a little modification you can get separate up/down 1
tick volume plots. See my post on Sat, 17 April 8:22, Best Data Feed,
You All Ready Have It.
If c<c[1] then begin
value1=1;
plot1(downticks,"dn"); {or upticks, it does not matter}
end else begin
if value1=1 and c=c[1] then begin
plot1(downticks, "dn");
end else begin
value1=0;
plot2(downticks,"up");
end;
end;
Wayne Mathews
P.S. The TS2000 server is much more accurate then the TS 4 one, coming
close to my reference of Quote.com.
|