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

Re: Highest High Yesterday



PureBytes Links

Trading Reference Links

Rick,
I have no experience of RT exploration.
I suppose you can not use cum(1), since it would count 5min bars.
But, try the
x=DateNum()<LastValue(DateNum());
y=LastValue(ValueWhen(x,H));
Does it work ?
Dimitris
--- In amibroker@xxxx, "Rick Parsons" <RickParsons@xxxx> wrote:
> Using RT data where bars may be in minutes: 5 minutes, 15 minutes 
etc.
> 
> How do I find the highest high for the prior market day?
> 
> One must consider that if it is Monday, I need the Highest High for 
Friday.
> 
> I need AFL code that will narrow this down to just the previous 
market day.
> 
> Thanks to all for the help.
> Rick