Hi Paul -- crosshappened = cross(ema(c,5),ema(c,10)); crossedrecently = barssince(crosshappened)<=10;
Thanks, Howard www.quantitativetradingsystems.com On 11/26/07, Paul Radge <[EMAIL PROTECTED]> wrote: > Hi all, > can someone please kindly point me in the right direction or > simply tell me the answer to this,,,,, > > Filter= ema(c,5)crossed over ema(c,10) ,,,,,BUT within the last 10 > periods > > i know how to do it for cross over today but i want the filter to look > for the cross over "within" the last 10 periods,,, > > over > Paul > >
