Thanks Aron – this is working as expected.
This code is basically the same as what Marcin suggested, so I need to have another look to see why the earlier back-test did not work.
Thanks again to everyone who helped!
Best regards
Bruce
Sent: 29 April, 2016 5:10 AM
Subject: Re: [amibroker] Re: Help with Rotational Trading System code. [1 Attachment]
On 4/28/2016 2:58 PM, 'Bruce Wood' bruce.wood@bigpond.com [amibroker] wrote:
Any other ideas?
MaxPositions = 4;
SetOption("MaxOpenPositions", MaxPositions );
SetOption("WorstRankHeld", MaxPositions );
SetBacktestMode( backtestRotational );
PositionSize = 10000;
PositionScore = 50 - RSI() AND Close > 40;
As you can see form the trade list there is not entry price below 40 $
__._,_.___
Posted by: "Bruce Wood" <bruce.wood@bigpond.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (12) |
Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!
**** 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/
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/
.
__,_._,___
EmoticonEmoticon