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

RE: [amibroker] Re: separate optimizions for each stock in portfolio



PureBytes Links

Trading Reference Links

Take the 3 lines:
 
AB = new ActiveXObject("Broker.Application");
AA = AB.Analysis;
AA.Optimize(1);

put them in a text editor and save them into the AB folder as  OptSep.js.
 
Then run AB and set everything up (watchlists, dates, database, settings, etc) to your liking.
 
Then double click the OptSep.Js file you created above.
 
d

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of qqqqq_99999_qqqqq
Sent: Thursday, July 21, 2005 3:08 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: separate optimizions for each stock in portfolio


Would anyone be kind enough to complete the TJ's snippets into a
turn-key sample code ?

TIA

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Hello,
>
> Actually you don't need to implement it yourself.
> Individual optimization is already available from OLE interface.
>
> If you pass the value of 1
> to AA.Optimize() method it will run individual optimization
> automatically for each stock for you.
>
> AB = new ActiveXObject("Broker.Application");
> AA = AB.Analysis;
> AA.Optimize(1);
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Dwight Lewis" <dlldollars@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, September 24, 2004 11:05 PM
> Subject: RE: [amibroker] separate optimizions for each stock in
portfolio
>
>
> > I'm currently working on this.  I will probably be able to give you an
> > example on Monday.
> >
> > dll
> >  -----Original Message-----
> >  From: mafiajoe_1 [mailto:mafiajoe_1@xxxx]
> >  Sent: Friday, September 24, 2004 10:57 AM
> >  To: amibroker@xxxxxxxxxxxxxxx
> >  Subject: [amibroker] separate optimizions for each stock in portfolio
> >
> >
> >  Hello,
> >
> >  I am new to AmiBroker, so I am not sure whether this is possible, but
> >  what I would like to do is optimize my system so that I get optimized
> >  settings for each stock in the portfolio, rather than one single
> >  setting that is best for the entire portfolio.
> >
> >  I would like to be able to get, store, and use (i.e. optimize and
> >  backtest) optimized variable settings that are specific to each
> >  individual stock in the portfolio, rather than one single set of
> >  values for the entire portfolio.
> >
> >  Running manual tests is not an option.
> >
> >  Thanks,
> >
> >  Joe.
> >
> >
> >
> >
> >  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
> >
> >
> >
> >
> >
> >
----------------------------------------------------------------------------
> > --
> >  Yahoo! Groups Links
> >
> >    a.. To visit your group on the web, go to:
> >    http://groups.yahoo.com/group/amibroker/
> >
> >    b.. To unsubscribe from this group, send an email to:
> >    amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> >    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >




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 other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS