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

Re: [amibroker] Re: Need help with Explore code



PureBytes Links

Trading Reference Links

Alan,
It just so happens that,with the help of Anthony F., I just got
this figured out. Try this.
<==code starts here==>
// switch to Weekly time frame//
TimeFrameSet(inWeekly);
WklyMA1=EMA(C,7);
WklyMA2=EMA(C,35);
//Restore Original Time Frame//
TimeFrameRestore();
WklyMA1_d=TimeFrameExpand( WklyMA1, inWeekly);
WklyMA2_d=TimeFrameExpand( WklyMA2, inWeekly);

Filter=Cross(WklyMA1_d), EMA(WklyMA2_d) );
AddColumn(Close,"Close",1.2);
<==code ends here==>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/