PureBytes Links
Trading Reference Links
|
I use successfully Reserved Word:
Sess1FirstBarTime
{It returns the time of the First bar generated during the first session of
trading of the day.
Sess1FirstBarTime returns the time in 24-hour format.
Examples:
Sess1FirstBarTime returns 1000 when applied to IBM data with a 30 minute
compression.
Sess1FirstBarTime returns 0825 when applied to US Treasury Bond Data with a
5 minute compression.}
So if you need to do something on the firs bar of the day then it could be :
If Time = Sess1FirstBarTime Then Begin
do something
else
...;
end
{** © 1987, 1999 Omega Research, Inc. **}
{** © 1987, 1999 Omega Research, Inc. **}
----- Original Message -----
From: "bkmk" <bkmk@xxxxxxxxxxxx>
To: "Omega-List" <omega-list@xxxxxxxxxx>
Sent: Thursday, August 23, 2001 7:46 PM
Subject: First bar of day snd ELA
> A quick one. How do you refer to the first bar of the day in ELA code?
>
>
> Thanks.
>
> Barry
>
|