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

[amibroker] Re: Help! need guru to crack code for newbe



PureBytes Links

Trading Reference Links


This will get U started;
Use this as an examlple and U can code the "sell"...
Walt


L1=optimize("l1",5,3,10,1); 
L2=optimize("l2",5,40,60,1); 

buy=cross(wma(c,L1),wma(c,L2)) and cross(macd(),0);


--- In amibroker@xxxxxxxxxxxxxxx, Andrew Semryck <andrewsemryck@xxxx> 
wrote:
> Hello,
> 
> I'm trying to learn the AFL codeing and was wondering
> if someone can write a system formula for me.
> 
> I want to buy when the 7 Period WMA crosses over the
> 50 Period WMA + the MACD crossing over the 0 Line. 
> And the opposite for sells.  Also what would the
> formula be if I wanted to Optimize the Periods.
> 
> 
> Thanks for your help,
> 
> Andy
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Make Yahoo! your home page 
> http://www.yahoo.com/r/hs





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 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/

<*> 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/