n = optimize("n_order",
0, 0, 4, 1); // n is used to stored the order
x = strtonum(strextract("20,
25, 50, 70, 200", n); // x = is the n-1th element
result = ma(c, x); //or
whatever
Dingo and/or Paul
--
Sorry, but could you please dumb it down so even I can see how this
works with Optimize()? A code snippet including Optimize() and StrToNum(StrExtract("20,25,50,70,200",
n))
ought to do it.
Thanks.
-- Keith
dingo wrote:
the key is the strExtract
function. The strToNum merely converts the alfa result to a number.
d
Paul --
Could you please give more detail as to how StrToNum() function is
applicable to the original Optimize() question?
-- Keith
Paul Ho wrote:
StrToNum(StrExtract("20,25,50,70,200",
n))
How do I do this:
Optimise the MA for the specific values:
20,25,50,70,200
Optimise(MAval,"MA value",20,20,200,5) >>> this
loops in Step 5 and I
only want the specific values above tested
Thanks in advance - ALex