try this array = h; LastHHVValue = valuewhen( hhvbars(array,x)==0, array );
-- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2009/1/13 sidhartha70 <[email protected]>: > Hi All, > > Ok. It's easy to find the last true value of an array... simply > HHV(array,x) where x=no of intervals back. > > However, how can I find the last true value of the array looking back > over x intervals...?? > > is there an array method without looping...? > > Many Thanks > >
