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

Re: [amibroker] long only rotational



PureBytes Links

Trading Reference Links




In the Automatic Analysis => Settings =>General Tab set Positions to Long (only)



From: upsidetarget <digimax@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, August 22, 2009 10:09:59 AM
Subject: [amibroker] long only rotational

 

I want to use a simple RS system, but back testing shows long AND short trades. How can I limit results to long trades only?

Thanks

EnableRotationalTra ding();
SetOption("WorstRan kHeld",5) ;
PosQty = 5;
SetOption("MaxOpenP ositions" , PosQty );
PositionSize = -100/PosQty;
PositionScore= (ROC(C,252)) ;



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___