PureBytes Links
Trading Reference Links
|
I also had a problem with TS giving incorrect volume when the volume was
above 2 billion. My solution was to create the following new indicator.
Hope this helps.
Inputs: AvgLength(50), BreakoutPcnt(50), UpVolColor(Green),
DownVolColor(Red);
Variables: Vol(0), AvgVol(0), LrgVol(0);
If Volume < 0 then begin
LrgVol = -(volume);
end
Else begin
LrgVol = Volume;
end;
If Volume <> 0 Then Begin
If DataCompression >= 2 Then Begin
Plot1(LrgVol, "Volume");
Plot2(Average(LrgVol, AvgLength), "Volume Avg");
End
Else Begin
Plot1(UpTicks + DownTicks, "Volume");
Plot2(Average(UpTicks + DownTicks, AvgLength), "Volume Avg");
End;
If Close >= Close[1] Then
SetPlotColor(1, UpVolColor)
Else
SetPlotColor(1, DownVolColor);
End;
IF Plot1 >= Plot2 * (1 + (BreakoutPcnt * .01)) Then
Alert("Volume is " + NumToStr(BreakoutPcnt, 2) +"% above its average");
{Volume Expert Commentary}
#BeginCmtry
Commentary(ExpertVolumeAvg(Plot1, AvgLength, BreakoutPcnt));
#End;
I am using TS2000 and have charts that plot and use as systems input data,
60 minute bars of total volume as a symbol for both New York and NASD.
My problem is that when total volume goes over 2 billion, TS plots the close
as 0 rather than the correct number. The correct number is in the global
server but won't plot correctly. I am using e-signal as a data feed.
Is there a fix available.
Roger
|