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

[amibroker] re: 21d ma on obv



PureBytes Links

Trading Reference Links

Is it possible to do a rotation trade on a family of funds then to 
next do a buy/sell off the equity cureve? Here's an example:

EnableRotationalTrading();
ran=3;
SetOption("WorstRankHeld", ran );
PositionSize = -100/2;
PositionScore =rsi();
//now trade the equity curve
eq = Foreign("~~~EQUITY", "C");
Buy=ema(eq,20)>eq;
Sell=not buy;

So far I can't figure out to how to do this..... any suggestions?
Thanks in advance
Larry




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