You, THE MAN!!!
Thanks

--- In [email protected], "gp_sydney" <[EMAIL PROTECTED]> 
wrote:
>
> Between two bars or two dates?
> 
> If it's two bars, mask the section between the two bars and then use
> Highest and Lowest:
> 
> bn = Cum(1)-1;
> marray = IIf(bn >= startBar AND bn <= endBar, array, Null);
> hv = Highest(marray);
> lv = Lowest(marray);
> 
> where "array" is the array of data you want those values for.
> 
> If it's between two dates, use the DateNum function instead:
> 
> dn = DateNum();
> marray = IIf(dn >= startDate AND dn <= endDate, array, Null);
> hv = Highest(marray);
> lv = Lowest(marray);
> 
> In this case, startDate and endDate would need to be in the same
> format as the DateNum function returns.
> 
> Regards,
> GP
> 
> 
> --- In [email protected], "murthysuresh" <money@> wrote:
> >
> > How do i calculate the highest high and lowest low between 2 
dates. any 
> > ideas appreciated. i have been scratching my head and cannot 
figure 
> > out. 
> > 
> > seede
> >
>


Reply via email to