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

Re: Problem w/HighD Func



PureBytes Links

Trading Reference Links

> That moves the problem to the next earlier day.  This instance of HighD
> still seems to have a problem no matter how many days you load.

It's a maxbarsback thing. It needs a whole day of data before it can
display correct results. If your other calcs have any lookback, it can't
use the first few bars of the first day so it starts calculating the
second day. If you're willing to accept using only part of the bars on
the first day, you could change

	If Date > Date[1]  then begin

to

	If Date > Date[1] or currentbar = 1 then begin

but the answer wouldn't be right if the high came before barnumber 1.

-- 
  Dennis