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

Re: [amibroker] How to Optimise for specific values



PureBytes Links

Trading Reference Links

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


From: amibroker@xxxxxxxxxps.com [mailto:amibroker@yahoogroups.com] On Behalf Of Keith McCombs
Sent: Wednesday, March 14, 2007 12:12 PM
To: amibroker@xxxxxxxxxps.com
Subject: Re: [amibroker] How to Optimise for specific values

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))


From: amibroker@xxxxxxxxxps.com [mailto:amibroker@yahoogroups.com] On Behalf Of dralexchambers
Sent: Wednesday, 14 March 2007 3:15 AM
To: amibroker@xxxxxxxxxps.com
Subject: [amibroker] How to Optimise for specific values

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

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___