[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] ma cross over question,,,,,



PureBytes Links

Trading Reference Links

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 <paulradge@xxxxxxxxxxxxxxx> 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
>
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/