PureBytes Links
Trading Reference Links
|
> if time = Sess1StartTime then begin
> currenthigh = H;
> currentlow = L;
> end;
That won't work. The condition is never true unless you muck with the
session settings. Sess1StartTime is the open of the first bar. The
indicator will calculate on the close of the bar so the time is a bar
interval later.
Better to use
if date > date[1]
or the built-in functions Lazy mentioned.
--
Dennis
|