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

[amibroker] Optimise coding



PureBytes Links

Trading Reference Links

   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 !
 
Visit The Doll Palace [Where Cartoon Dolls Live]


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
click here


Yahoo! Groups Links

GIF image