PureBytes Links
Trading Reference Links
|
Thanks for the help. The TimeFrameSet function is what I was looking
for. I have placed it above the Filter in the following exploration
code and it works like I want. I hope I have placed it in the
correct place in the code. Is this correct or should it be
after "Filter =" ?
<==code ==>
TimeFrameSet(inWeekly);
Filter = EMA(Close,26) > EMA(Close,13) AND Cross(Close,EMA(Close,13))
AND Close < EMA(Close,26) AND Close > 20;
<==end code==>
Thanks again,
Alann
--- In amibroker@xxxxxxxxxxxxxxx, "Christoper" <turkey@xxxx> wrote:
>
> Search for "Multiple Time Frame support in AFL" in Help.
>
> You can just follow example 1 at the bottom of the page.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "alannortham" <anortham@xxxx>
wrote:
> >
> > I'm trying to do a simple exploration of stocks in my Watchlist
and I
> > need help with the code. The following filter is what I want
only I
> > want it to filter weekly data instead of daily.
> >
> > Filter = Cross(Close,EMA(Close,26)) AND Close > 20;
> >
> > Thanks,
> > Alann
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|