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

Ticky problem


  • To: "Omega" <omega-list@xxxxxxxxxx>
  • Subject: Ticky problem
  • From: "John Watson" <NekoNkkkkkkkkkkkkkkkkk>
  • Date: Fri, 25 Jan 2002 00:11:04 -0800

PureBytes Links

Trading Reference Links

Hello Omega List,


I am having bit of a problem trying to reset the tick counter everyday, but
it count only once per day. I just want to count all of the up and down tick
through out the day and then reset it back to zero before the market bell
open. Can anyone solve this 'ticky' problem before it 'tick me off'.  Excuse
the pun.


    John

Var: Upt(0), DnT(0);

if (Date <> Date[1]) and (Time >= 0630 and time <= 1315) then
begin
 Upt = Upt + upticks;
 Dnt = Dnt + downticks;
end else
begin
 Upt = 0;
 Dnt = 0;
end;