Hi Jim - It is a COM/OLE thing. Here are the codes for a simple example you 
can look at. Load the AFL code into AA, then rename the jstemp code ( 
jscript ) back to js and run it. If you want, you can add the the js code to 
the Tools menu and run it from there. Feel free to ask if you get stuck.

Steve

----- Original Message ----- 
From: "jim fenster" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 31, 2008 7:33 AM
Subject: [amibroker] optimize(1) function


> How do you use this Optimize(1) function in amibroker where you can 
> optimize the variable with each individual stock as opposed to the whole 
> portfolio? In a simple code of "buy if stock moves X amount" and I want 
> that X amount optimized with each individual stock? I have no clue how to 
> reference it.
>
> Thanks,
>
> Jim
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> *********************
> TO GET TECHNICAL 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
>
> *********************************
> Yahoo! Groups Links
>
>
>
> 

Attachment: Individual Optimize.afl
Description: Binary data

Attachment: Individual Optimize.jstemp
Description: Binary data

Reply via email to