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

Re: Yesterday's High



PureBytes Links

Trading Reference Links

This will do it.

MktStart:=Hour()<Ref(Hour(),-1);
ValueWhen(1,MktStart,Ref(HighestSince(1,MktStart,H),-1))

Regards

Yarroll wrote:

> Hello List,
>
> Is there a simple way to reference yesterday's _daily_ High for an intraday
> chart?
> Much in the same way as the daily Open is ValueWhe
> n(2,DayOfWeek()<>Ref(DayOfWeek(),-1),O)
>
> The problem arises when there's no way of knowing how many intraday bars
> there are in a chart.
>
> Thanks. All the best
>
> Yarroll
> ***
> http://republika.pl/yarroll999/
>
> BTW Do we, as a group have an archive somewhere? I know of one at Purebytes
> but that's from Yahoo Metastockusers, right? THX.