PureBytes Links
Trading Reference Links
|
> Is there a way to calculate the high of the last X bars not
> including any bar that closes at 10:30? In other words I want to
> know the high for a period of time measured in 60 minute bars but
> do not want the opening bar for the day included in the
> calculation...
unverified but maybe something like....
input: lookback(10);
var: hi(0), hihi(0);
if time <> 1030 then hi = high;
hihi = highest(hi,lookback);
plot1(hihi,"");
--
Dennis
|