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

Re: referencing intraday bar question



PureBytes Links

Trading Reference Links

With most intraday bars I look at daily data like:

If Date<>Date[1] Then DaysLow=Low data2;
If Low data2<DaysLow Then DaysLow=Low data2;

Or something similar.
For testing you could plot the value of DaysLow (or use predefined functions
LowD and such);

===============================
Robert Linders
Orlando, FL
email: mugsnug@xxxxxxxxx
===============================
----- Original Message -----
From: "Jeff Sanders" <jds22@xxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Monday, November 19, 2001 11:56 PM
Subject: referencing intraday bar question


> I am using an intraday chart and condition1= price went higher than
> yesterday's close.
> What I want is to check if the price during the day ever was lower than
> yesterday's low, then I dont want to buy.
> How do I check that, because this doesnt work??
>
> if condition1 then begin;
> if lowd(0) > closed(1) data2 then buy this bar;
> end
>
> I am only using data2 (same symbol but daily bars)because I dont know how
to
> reference any other way.
> Thanks
>
>
>