PureBytes Links
Trading Reference Links
|
I'm using the PositionSize parameter
to optimize the number of stocks to hold. The normal form
is :
PositionSize = -20;
Which assigns 20% of the equity to each stock (5
stock hold). I want to optimize something like this:
P=<FONT
color=#0000ff>Optimize("P",<FONT
color=#ff00ff>10,100/<FONT
color=#ff00ff>10,<FONT
color=#ff00ff>100/5,<FONT
color=#ff00ff>???);
PositionSize = -P;
How do I increment this so that I end up with
testing 5,6,7,8,9 and 10 stocks held?
Steve
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|