PureBytes Links
Trading Reference Links
|
The Sess1endtime function effectively
takes the Globalserver times.
Try that :
if (date<="Date of day the market change his end time")
then
begin
if (time=1730) then buy next bar at open
end
else
begin
if (time=1740) then buy next bar at open
end;
But it will works on this market only.
Steph
----- Original Message -----
From: "Gary Fritz" <fritz@xxxxxxxx>
To: "marika11" <marika11@xxxxxxxxx>
Cc: <omega-list@xxxxxxxxxx>
Sent: Tuesday, March 19, 2002 6:15 PM
Subject: Re: EL question
> > there is a problem...
> > I think Sess1Endtime take the end time from Globalserver; the
> > problem is: the market I follow recently change his end time (from
> > 1730 to 1740); so in Global server now it's 1740; historical data
> > to test ends at 1730; so
> > If (time=Sess1Endtime) then
> > doesn't work..
> > How can I keep anyway the last trading session bar?
|