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

Re: [amibroker] Optimise coding



PureBytes Links

Trading Reference Links

Yes you need to change the number in the code. As there can be many
ways of determining the best result of optimisation (not just best
total return) it would be hard for Ab to know whch one you want


On Sun, 6 Mar 2005 00:20:13 -0800 (PST), Natasha !!
<dynomitedoll_ddd@xxxxxxxxx> wrote:
> 
>    Hi, 
>          This is regarding Optimisation coding;
>    Suppose i had a code like below to optimise;
>  
> 
> 
> x=Optimize("x",10,10,100,1); 
> 
> Sell=Cross(z,x);Buy=Cross(x,z); 
> 
> Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
>      Now here after optimisation i get the optimal value as  suppose say 52
> .Now i do a back test but this will consider the initial value 10 above in
> the Optimise function and then perform the back test. How do i code so that
> after optimisation the back test will use the optimised number viz 52
> automatically and then  perform the back test ?Currently with the above code
> i have to physically change the number and then perform the back-test.
>  
>  Thanks.
>  
> --- N !!
>  
>      
> 
> 
> Warm regards, 
> Natasha !
>  
> 
> ________________________________
> Celebrate Yahoo!'s 10th Birthday! 
> Yahoo! Netrospective: 100 Moments of the Web 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>   
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/