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










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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to