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

[amibroker] Rotational Trading



PureBytes Links

Trading Reference Links

I'm a new Amibroker user and have a few naiive questions about the 
EnableRotationalTrading() function if someone has the patience to 
respond.  

I employed the simple code below on the components of the Nasdaq 100 
from 1/1/2003 to 12/31/04 going LONG only (as specified 
under "Settings" in the Backtester)on a Daily timeframe:

EnableRotationalTrading();
SetOption("WorstRankHeld",5);
PositionScore	= ROC(C,200)/ATR(200);
SetPositionSize(20,spsPercentOfEquity);

I obtained 14 trades, 4 of which were Shorts.

Question No. 1:  If I specifically asked for Longs only in the AA, 
why did I see the 4 Short trades?  How do I avoid this in the future?

Question No. 2:  Is it possible to specify other entry criteria, eg, 
MA(V,20)>500000, in addition to the PositionScore and SetOption
(WorstRankHeld) criteria when employing the EnableRotationalTrading
() function?  If so, how would one do this?

Thanks for any and all input.

With kind regards,

Fred

 








------------------------ Yahoo! Groups Sponsor --------------------~--> 
GFT Forex Trading Accounts As low as $250 with up to 400:1 Leverage. Free Demo.
http://us.click.yahoo.com/lpv1TA/jlQNAA/U1CZAA/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/