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

referencing intraday bar question



PureBytes Links

Trading Reference Links

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