PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Herman,
<FONT face=Arial color=#0000ff
size=2>
You
could try something like this for simple optimizations.
<FONT face=Arial color=#0000ff
size=2>
<FONT face="Courier New" color=#0000ff
size=2>X = Optimize("X", 1, 1, 5, 1);Y = Optimize("Y", 1, 1, 3,
1);OptimizationNum = X + 5*(Y-1);
<FONT face=Arial color=#0000ff
size=2>
But
you are right, it gets messy with non-trivial examples.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>-Steve
<FONT face=Arial color=#0000ff
size=2>
-----Original Message-----From: Herman
van den Bergen [mailto:psytek@xxxx]Sent: Monday, October 21,
2002 9:34 AMTo: Amibroker@xxxx ComSubject:
[amibroker] Status("OptimizationNum")?
<SPAN
class=270292313-21102002>Hello,
<SPAN
class=270292313-21102002>
would anybody know
how to count optimizations such that we can use the counter in the
optimization itself?
<SPAN
class=270292313-21102002>
For example: X =
Optimize("X",5,1,10,1); <SPAN
class=270292313-21102002>Since here we have a single variable the
counter is simply X. However When Optimizing with 2 or more
variables with odd limits this gets messy, especially when you want to make
the formula generic for use in different systems.
<SPAN
class=270292313-21102002>
Something like
Status("OptimizationNum"); would be nice, similar to
"StockNum".
<SPAN
class=270292313-21102002>
Thanks for any
ideas you may have,
best
regards,
<SPAN
class=270292313-21102002>Herman.Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|