PureBytes Links
Trading Reference Links
|
Very nice. can this jscript be run from the DOS command line, or only
within AFL?
Regarding closing the window, sorry no idea.
----- Original Message -----
From: "inner_records" <inner_records@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, June 01, 2007 4:10 PM
Subject: [amibroker] close automatic analysis box? jscript, scripts
>I adapted the script below to run an exploration and it works great,
> except I can't figure out how to close the "Automatic Analysis" box
> at the end of the script - can anyone help?
>
> Thank you for your time!
>
>
> /*Simple jScript to perform exploration using rules in TEST.AFL,
> produces text file of results as TEST.TXT Use at own risk!*/
> var AB, AA;
> AB = new ActiveXObject("Broker.Application");
> AA = AB.Analysis;
> AA.ClearFilters();
> AA.ApplyTo = 0; // use symbols
> AA.RangeMode = 1;
> AA.RangeN=1; //last 1 trading days
> AA.ApplyTo = 2; // use filters
> AA.Filter(0,"watchlist") = 0; /* watch list number*/;
>
> AA.LoadFormula( "C:\\AmiBroker\\TEST.AFL" ) //use this test
> AA.Explore();
> AA.Export ( "C:\\AmiBroker\\TEST.TXT" ); // generate report
>
>
>
>
> 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
>
> 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 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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|