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

[amibroker] Using functions and optimize( )



PureBytes Links

Trading Reference Links

Hi All,

 

I am using functions in my code and came across the following problem:

 

When I use optimize(….) inside a function, during the optimization backtest Amibroker will run 2 combinations of the same value

 

For example, optimize(“X”,1,1,10,1) will result in 100 runs. The result set contains two columns of X, each result line containing a different combination of the two X columns.

 

If I move this line outside the function, it works fine.

 

Did anybody come across this before? Is there any way of fixing this? (apart from removing it from within the function?)

 

Regards,

Claude

 



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