| 
 PureBytes Links 
Trading Reference Links 
 | 
Tradionally I would optimize  the 2 parameters Aa and Bb and got the 
best combination in terms of net profit after optimalisation. See 
below (simplified):
Aa=4;
Bb=9;
Aa=optimize("aa",aa,1,10,1);
Bb=optimize("bb",bb,1,20,2);
Cc=function(aa,bb);
Buy=cross(c,cc);
Sell=cross(cc,c);
Being a newbie in working with loops I made an attempt to put the 
above in a loop but the outcome is not in line with the tradional 
optimalisation; it is worse. It seems first to optimize Aa and 
subsequently Bb.
Aa=0;
Bb=0;
For(aa=1,bb=1;aa<10;aa=aa+1,bb=bb+2)
{
Buy condition;
Sell condition;
}
How do I correct this?
Thanks.
Willem Jan
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/ 
 |