Hi Graham, Sorry that wasn't clear. I wanted the number of bars since the close set a new 52 week high to be less than 20 bars. I thought the logic was fine, but I haven't had any
--- In [email protected], Graham <[EMAIL PROTECTED]> wrote: > > each condition must be presented independently. Not sure which is > meant to be <20, but will use C > > BarsSince( C > Ref ( HHV ( H, 251 ), -1 ) and C < 20) > > -- > Cheers > Graham > AB-Write >< Professional AFL Writing Service > Yes, I write AFL code to your requirements > http://www.aflwriting.com > > > On 06/04/07, mo_means_go <[EMAIL PROTECTED]> wrote: > > I have the following piece of logic in a Buy Statement: > > > > ..... BarsSince(( C > Ref ( HHV ( H, 251 ), -1 ) < 20)) ..... > > > > I'm not getting any hits on a scan. Is this logic incorrect? Thanks > > for any insight. > > > > Mo. >
